![]() |
Eclipse SUMO - Simulation of Urban MObility
|
pre-computed information for conflict points More...
#include <MSLink.h>
Public Member Functions | |
| ConflictInfo (double lbc, double cs, ConflictFlag fl=CONFLICT_DEFAULT) | |
| double | getFoeConflictSize (const MSLink *foeExitLink) const |
| double | getFoeLengthBehindCrossing (const MSLink *foeExitLink) const |
| double | getLengthBehindCrossing (const MSLink *exitLink) const |
Data Fields | |
| double | conflictSize |
| the length of the conflict space | |
| ConflictFlag | flag |
| int | foeConflictIndex |
| the conflict from the perspective of the foe | |
| double | lengthBehindCrossing |
| length of internal lane after the crossing point | |
|
inline |
| double MSLink::ConflictInfo::getFoeConflictSize | ( | const MSLink * | foeExitLink | ) | const |
Definition at line 94 of file MSLink.cpp.
References MSLink::myConflicts.
Referenced by LIBSUMO_NAMESPACE::Vehicle::getJunctionFoes().
| double MSLink::ConflictInfo::getFoeLengthBehindCrossing | ( | const MSLink * | foeExitLink | ) | const |
Definition at line 83 of file MSLink.cpp.
References MSLink::CONFLICT_DUMMY_MERGE, flag, foeConflictIndex, MSLink::myConflicts, and MSLink::NO_INTERSECTION.
Referenced by LIBSUMO_NAMESPACE::Vehicle::getJunctionFoes().
| double MSLink::ConflictInfo::getLengthBehindCrossing | ( | const MSLink * | exitLink | ) | const |
Definition at line 103 of file MSLink.cpp.
References MSLink::CONFLICT_STOP_AT_INTERNAL_JUNCTION, MSLink::getInternalLaneBefore(), and MSLane::getLength().
| double MSLink::ConflictInfo::conflictSize |
the length of the conflict space
Definition at line 208 of file MSLink.h.
Referenced by LIBSUMO_NAMESPACE::Vehicle::getJunctionFoes(), and MSLink::recheckSetRequestInformation().
| ConflictFlag MSLink::ConflictInfo::flag |
Definition at line 210 of file MSLink.h.
Referenced by getFoeLengthBehindCrossing(), LIBSUMO_NAMESPACE::Vehicle::getJunctionFoes(), and MSLink::recheckSetRequestInformation().
| int MSLink::ConflictInfo::foeConflictIndex |
the conflict from the perspective of the foe
Definition at line 204 of file MSLink.h.
Referenced by getFoeLengthBehindCrossing(), and MSLink::recheckSetRequestInformation().
| double MSLink::ConflictInfo::lengthBehindCrossing |
length of internal lane after the crossing point
Definition at line 206 of file MSLink.h.
Referenced by LIBSUMO_NAMESPACE::Vehicle::getJunctionFoes(), and MSLink::recheckSetRequestInformation().