Eclipse SUMO - Simulation of Urban MObility
|
the edge type representing backward edges More...
#include <ReversedEdge.h>
Public Types | |
typedef std::vector< std::pair< const ReversedEdge< E, V > *, const ReversedEdge< E, V > * > > | ConstEdgePairVector |
Public Member Functions | |
const ReversedEdge * | getBidiEdge () const |
const std::string & | getID () const |
Returns the id of the edge. | |
double | getLength () const |
Returns the length of the edge. | |
int | getNumericalID () const |
Returns the index (numeric id) of the edge. | |
const ConstEdgePairVector & | getViaSuccessors (SUMOVehicleClass vClass=SVC_IGNORING, bool ignoreTransientPermissions=false) const |
void | init () |
bool | isInternal () const |
bool | prohibits (const V *const vehicle) const |
bool | restricts (const V *const vehicle) const |
ReversedEdge (const E *orig) | |
Static Public Member Functions | |
static double | getTravelTimeStatic (const ReversedEdge< E, V > *const edge, const V *const veh, double time) |
Private Attributes | |
std::map< SUMOVehicleClass, ConstEdgePairVector > | myClassesViaSuccessorMap |
The successors available for a given vClass. | |
const E *const | myOriginal |
ConstEdgePairVector | myViaSuccessors |
the edge type representing backward edges
Definition at line 30 of file ReversedEdge.h.
typedef std::vector<std::pair<const ReversedEdge<E, V>*, const ReversedEdge<E, V>*> > ReversedEdge< E, V >::ConstEdgePairVector |
Definition at line 32 of file ReversedEdge.h.
|
inline |
Definition at line 34 of file ReversedEdge.h.
|
inline |
Definition at line 74 of file ReversedEdge.h.
References ReversedEdge< E, V >::getBidiEdge(), and ReversedEdge< E, V >::myOriginal.
Referenced by ReversedEdge< E, V >::getBidiEdge().
|
inline |
Returns the id of the edge.
Definition at line 63 of file ReversedEdge.h.
References ReversedEdge< E, V >::myOriginal.
|
inline |
Returns the length of the edge.
Definition at line 70 of file ReversedEdge.h.
References ReversedEdge< E, V >::myOriginal.
|
inline |
Returns the index (numeric id) of the edge.
Definition at line 56 of file ReversedEdge.h.
References ReversedEdge< E, V >::myOriginal.
|
inlinestatic |
Definition at line 90 of file ReversedEdge.h.
References ReversedEdge< E, V >::myOriginal.
|
inline |
Definition at line 94 of file ReversedEdge.h.
References ReversedEdge< E, V >::myClassesViaSuccessorMap, ReversedEdge< E, V >::myOriginal, ReversedEdge< E, V >::myViaSuccessors, SVC_IGNORING, and UNUSED_PARAMETER.
Referenced by ReversedEdge< E, V >::init().
|
inline |
Definition at line 37 of file ReversedEdge.h.
References ReversedEdge< E, V >::getViaSuccessors(), ReversedEdge< E, V >::myOriginal, and ReversedEdge< E, V >::myViaSuccessors.
|
inline |
Definition at line 78 of file ReversedEdge.h.
References ReversedEdge< E, V >::myOriginal.
|
inline |
Definition at line 82 of file ReversedEdge.h.
References ReversedEdge< E, V >::myOriginal.
|
inline |
Definition at line 86 of file ReversedEdge.h.
References ReversedEdge< E, V >::myOriginal.
|
mutableprivate |
The successors available for a given vClass.
Definition at line 121 of file ReversedEdge.h.
Referenced by ReversedEdge< E, V >::getViaSuccessors().
|
private |
Definition at line 119 of file ReversedEdge.h.
Referenced by ReversedEdge< E, V >::getBidiEdge(), ReversedEdge< E, V >::getID(), ReversedEdge< E, V >::getLength(), ReversedEdge< E, V >::getNumericalID(), ReversedEdge< E, V >::getTravelTimeStatic(), ReversedEdge< E, V >::getViaSuccessors(), ReversedEdge< E, V >::init(), ReversedEdge< E, V >::isInternal(), ReversedEdge< E, V >::prohibits(), and ReversedEdge< E, V >::restricts().
|
mutableprivate |
Definition at line 123 of file ReversedEdge.h.
Referenced by ReversedEdge< E, V >::getViaSuccessors(), and ReversedEdge< E, V >::init().