This commit is contained in:
Denis Koronchik
2017-10-20 18:10:32 +03:00
committed by Moritz Kobitzsch
parent 23fd27422b
commit 0fc6903d7e
2 changed files with 77 additions and 20 deletions
+10
View File
@@ -71,6 +71,16 @@ struct NodeBasedEdgeAnnotation
std::tie(name_id, classes, travel_mode, is_left_hand_driving) ==
std::tie(other.name_id, other.classes, other.travel_mode, other.is_left_hand_driving));
}
bool operator<(const NodeBasedEdgeAnnotation &other) const
{
return (std::tie(name_id, lane_description_id, classes, travel_mode, is_left_hand_driving) <
std::tie(other.name_id,
other.lane_description_id,
other.classes,
other.travel_mode,
other.is_left_hand_driving));
}
};
struct NodeBasedEdge