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 E * | getOriginalEdge () const |
Returns the original 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 31 of file ReversedEdge.h.
typedef std::vector<std::pair<const ReversedEdge<E, V>*, const ReversedEdge<E, V>*> > ReversedEdge< E, V >::ConstEdgePairVector |
Definition at line 33 of file ReversedEdge.h.
|
inline |
Definition at line 35 of file ReversedEdge.h.
|
inline |
Definition at line 80 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 69 of file ReversedEdge.h.
References ReversedEdge< E, V >::myOriginal.
|
inline |
Returns the length of the edge.
Definition at line 76 of file ReversedEdge.h.
References ReversedEdge< E, V >::myOriginal.
|
inline |
Returns the index (numeric id) of the edge.
Definition at line 62 of file ReversedEdge.h.
References ReversedEdge< E, V >::myOriginal.
|
inline |
Returns the original edge.
Definition at line 55 of file ReversedEdge.h.
References ReversedEdge< E, V >::myOriginal.
Referenced by FlippedEdge< E, N, V >::getBidiEdge(), FlippedEdge< E, N, V >::getDistanceTo(), FlippedEdge< E, N, V >::getLengthGeometryFactor(), FlippedEdge< E, N, V >::getMinimumTravelTime(), FlippedEdge< E, N, V >::getPriority(), FlippedEdge< E, N, V >::getSpeedLimit(), FlippedEdge< E, N, V >::getTimePenalty(), FlippedEdge< E, N, V >::getTravelTimeStatic(), FlippedEdge< E, N, V >::getTravelTimeStaticRandomized(), FlippedEdge< E, N, V >::getViaSuccessors(), and FlippedEdge< E, N, V >::hasLoadedTravelTimes().
|
inlinestatic |
Definition at line 96 of file ReversedEdge.h.
References ReversedEdge< E, V >::myOriginal.
|
inline |
Definition at line 100 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 38 of file ReversedEdge.h.
References ReversedEdge< E, V >::getViaSuccessors(), ReversedEdge< E, V >::myOriginal, and ReversedEdge< E, V >::myViaSuccessors.
|
inline |
Definition at line 84 of file ReversedEdge.h.
References ReversedEdge< E, V >::myOriginal.
|
inline |
Definition at line 88 of file ReversedEdge.h.
References ReversedEdge< E, V >::myOriginal.
|
inline |
Definition at line 92 of file ReversedEdge.h.
References ReversedEdge< E, V >::myOriginal.
|
mutableprivate |
The successors available for a given vClass.
Definition at line 127 of file ReversedEdge.h.
Referenced by ReversedEdge< E, V >::getViaSuccessors().
|
private |
Definition at line 125 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 >::getOriginalEdge(), 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 129 of file ReversedEdge.h.
Referenced by ReversedEdge< E, V >::getViaSuccessors(), and ReversedEdge< E, V >::init().