17 #include <OpenDRIVE_1.4H.h>
18 #include <unordered_map>
35 typedef std::string
TID;
38 typedef std::unordered_map<BorderID, TID, BorderIDHasher>
BorderID2TID;
40 typedef std::unordered_map<TID,TID>
TIDmap;
90 borderIDs.push_back(it2->second);
103 else return it->second;
115 else return it2->second;
BorderIDTranslation is a set of translation tables, which keeps track of road ids,...
Definition: idtranslation.h:32
std::unordered_multimap< TID, TID > TIDmultimap
Definition: idtranslation.h:41
BorderIDVector getBorderIDsOfJunction(TID junctionID)
Definition: idtranslation.h:83
std::unordered_map< TID, TID > TIDmap
Definition: idtranslation.h:40
std::vector< BorderID > BorderIDVector
Definition: idtranslation.h:44
adore::env::BorderBased::BorderID BorderID
Definition: idtranslation.h:36
BorderID2TID borderID2roadID_
Definition: idtranslation.h:47
TIDmap roadID2junctionID_
Definition: idtranslation.h:49
TID2MultiBorderID roadID2borderID_
Definition: idtranslation.h:48
std::unordered_multimap< TID, BorderID > TID2MultiBorderID
Definition: idtranslation.h:39
IteratorPair getBorderIDsOfRoad(TID roadID)
Definition: idtranslation.h:74
adore::env::BorderBased::BorderIDHasher BorderIDHasher
Definition: idtranslation.h:37
TID2MultiBorderID::iterator Iterator
Definition: idtranslation.h:42
void insert(const BorderID &borderID, TID roadID)
Definition: idtranslation.h:57
TID getRoadID(const BorderID &borderID)
Definition: idtranslation.h:99
TID default_empty_id_
Definition: idtranslation.h:51
std::string TID
Definition: idtranslation.h:35
TID getJunctionID(const BorderID &borderID)
Definition: idtranslation.h:109
bool isInJunction(TID roadID)
Definition: idtranslation.h:121
std::pair< Iterator, Iterator > IteratorPair
Definition: idtranslation.h:43
std::unordered_map< BorderID, TID, BorderIDHasher > BorderID2TID
Definition: idtranslation.h:38
void insert(TID junctionID, TID roadID)
Definition: idtranslation.h:65
bool isInJunction(const BorderID &borderID)
Definition: idtranslation.h:129
TIDmultimap junctionID2roadID_
Definition: idtranslation.h:50
Definition: areaofeffectconverter.h:20
a functor, which hashes a BorderID object -> std::unordered_set<BorderID,BorderIDHasher> amap(0);
Definition: borderid.h:176
This struct identifies a Border by the coordinates of the starting and the end point.
Definition: borderid.h:31