21 #ifndef NBJoinedEdgesMap_h 22 #define NBJoinedEdgesMap_h 67 void appended(
const std::string& to,
const std::string& what);
71 friend std::ostream&
operator<<(std::ostream& os,
std::map< std::string, SUMOReal > myLengths
friend std::ostream & operator<<(std::ostream &os, const NBJoinedEdgesMap &map)
Outputs the list of joined edges.
~NBJoinedEdgesMap()
Destructor.
Storage for edges, including some functionality operating on multiple edges.
std::map< std::string, MappedEdgesVector > JoinedEdgesMap
def. of a map of edge names to lists of previous edges the current edge is made of ...
A structure storing information about which edges were joined.
JoinedEdgesMap myMap
Map of edge names to lists of previous edges the current edge is made of.
NBJoinedEdgesMap()
Constructor.
void init(NBEdgeCont &ec)
Initialises the map using the list of edge names.
void appended(const std::string &to, const std::string &what)
Informs the map that two edges have been joined.
std::vector< std::string > MappedEdgesVector
def. of a list of edges that make up an edge