add comments, refactor find obvious turn

This commit is contained in:
karenzshea
2016-10-24 17:29:51 -07:00
parent 2a383efbf6
commit 0bd08224bf
4 changed files with 313 additions and 160 deletions
+1
View File
@@ -165,6 +165,7 @@ inline bool obviousByRoadClass(const RoadClassification in_classification,
const RoadClassification obvious_candidate,
const RoadClassification compare_candidate)
{
// lower numbers are of higher priority
const bool has_high_priority = PRIORITY_DISTINCTION_FACTOR * obvious_candidate.GetPriority() <
compare_candidate.GetPriority();