17 #ifndef NIVissimConflictArea_h 18 #define NIVissimConflictArea_h 53 const std::string& link2,
54 const std::string& status);
63 static bool dictionary(
int id,
const std::string& link1,
64 const std::string& link2,
const std::string& status);
75 const std::string& link2);
125 typedef std::map<int, NIVissimConflictArea*>
DictType;
std::string getStatus()
Returns the priority regulation of the conflic 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.
std::string myFirstLink
The first link of the conflict area.
static std::map< int, NIVissimConflictArea * > getConflictAreas()
Returns the dictionary including all conflict areas.
~NIVissimConflictArea()
Destructor.
int getID()
Returns the ID of the conflic area.
static void setPriorityRegulation(NBEdgeCont &ec)
Sets the priority regulation according to the VISSIM conflict area data.
static NIVissimConflictArea * dict_findByLinks(const std::string &link1, const std::string &link2)
std::string mySecondLink
The second link of the conflict area.
static void clearDict()
Clears the dictionary.
Storage for edges, including some functionality operating on multiple edges.
std::string getSecondLink()
Returns the second link of the conflic area.
NIVissimConflictArea(int id, const std::string &link1, const std::string &link2, const std::string &status)
Constructor.
static DictType myDict
The dictionary.
int myConflictID
The id of the conflict area.
A temporary storage for conflict areas imported from Vissim.
std::string getFirstLink()
Returns the first link of the conflic area.
std::string myStatus
The priority regulation of the conflict area.
std::map< int, NIVissimConflictArea * > DictType
Definition of the dictionary type.