50 const std::string& link2,
51 const std::string& status);
60 static bool dictionary(
int id,
const std::string& link1,
61 const std::string& link2,
const std::string& status);
72 const std::string& link2);
122 typedef std::map<int, NIVissimConflictArea*>
DictType;
Storage for edges, including some functionality operating on multiple edges.
A temporary storage for conflict areas imported from Vissim.
static std::map< int, NIVissimConflictArea * > getConflictAreas()
Returns the dictionary including all conflict areas.
std::string mySecondLink
The second link of the conflict area.
std::string myFirstLink
The first link of the conflict area.
std::string getStatus()
Returns the priority regulation of the conflic area.
int myConflictID
The id of the conflict area.
static bool dictionary(int id, const std::string &link1, const std::string &link2, const std::string &status)
Adds the described item to the dictionary Builds the conflict area first.
static void setPriorityRegulation(NBEdgeCont &ec)
Sets the priority regulation according to the VISSIM conflict area data.
static DictType myDict
The dictionary.
std::string getSecondLink()
Returns the second link of the conflic area.
static NIVissimConflictArea * dict_findByLinks(const std::string &link1, const std::string &link2)
static void clearDict()
Clears the dictionary.
std::string getFirstLink()
Returns the first link of the conflic area.
std::string myStatus
The priority regulation of the conflict area.
int getID()
Returns the ID of the conflic area.
~NIVissimConflictArea()
Destructor.
std::map< int, NIVissimConflictArea * > DictType
Definition of the dictionary type.