![]() |
SUMO - Simulation of Urban MObility
|
the pedestrian network storing edges, connections and the mappings to the "real" edges More...
#include <IntermodalNetwork.h>
Public Member Functions | |
void | addConnectors (_IntermodalEdge *const depConn, _IntermodalEdge *const arrConn, const int splitIndex) |
void | addEdge (_IntermodalEdge *edge) |
const std::vector< _IntermodalEdge * > & | getAllEdges () |
_IntermodalEdge * | getArrivalEdge (const E *e, const SUMOReal pos=-1.) |
Returns the arriving Intermodal edge. More... | |
const EdgePair & | getBothDirections (const E *e) |
Returns the pair of forward and backward edge. More... | |
_IntermodalEdge * | getDepartEdge (const E *e, const SUMOReal pos=-1.) |
Returns the departing Intermodal edge. More... | |
IntermodalNetwork (const std::vector< E * > &edges, int numericalID=0) | |
~IntermodalNetwork () | |
Private Types | |
typedef IntermodalEdge< E, L, N, V > | _IntermodalEdge |
typedef PedestrianEdge< E, L, N, V > | _PedestrianEdge |
typedef std::pair< _IntermodalEdge *, _IntermodalEdge * > | EdgePair |
Private Attributes | |
std::map< const E *, std::vector< _IntermodalEdge * > > | myArrivalLookup |
retrieve the arrival edges for the given input edge E More... | |
std::map< const E *, EdgePair > | myBidiLookup |
retrieve the forward and backward edge for the given input edge E More... | |
std::map< const E *, std::vector< _IntermodalEdge * > > | myDepartLookup |
retrieve the depart edges for the given input edge E More... | |
std::vector< _IntermodalEdge * > | myEdges |
the edge dictionary More... | |
the pedestrian network storing edges, connections and the mappings to the "real" edges
Definition at line 52 of file IntermodalNetwork.h.
|
private |
Definition at line 54 of file IntermodalNetwork.h.
|
private |
Definition at line 55 of file IntermodalNetwork.h.
|
private |
Definition at line 56 of file IntermodalNetwork.h.
|
inline |
Definition at line 62 of file IntermodalNetwork.h.
References IntermodalNetwork< E, L, N, V >::addEdge(), IntermodalEdge< E, L, N, V >::addSuccessor(), IntermodalNetwork< E, L, N, V >::getArrivalEdge(), IntermodalNetwork< E, L, N, V >::getBothDirections(), IntermodalNetwork< E, L, N, V >::getDepartEdge(), Named::getID(), IntermodalNetwork< E, L, N, V >::myArrivalLookup, IntermodalNetwork< E, L, N, V >::myBidiLookup, IntermodalNetwork< E, L, N, V >::myDepartLookup, and IntermodalNetwork< E, L, N, V >::myEdges.
|
inline |
Definition at line 213 of file IntermodalNetwork.h.
References IntermodalNetwork< E, L, N, V >::myEdges.
|
inline |
Definition at line 226 of file IntermodalNetwork.h.
References IntermodalNetwork< E, L, N, V >::addEdge(), IntermodalEdge< E, L, N, V >::getEdge(), IntermodalNetwork< E, L, N, V >::myArrivalLookup, and IntermodalNetwork< E, L, N, V >::myDepartLookup.
Referenced by IntermodalRouter< E, L, N, V >::addAccess().
|
inline |
Definition at line 219 of file IntermodalNetwork.h.
References IntermodalEdge< E, L, N, V >::getNumericalID(), and IntermodalNetwork< E, L, N, V >::myEdges.
Referenced by IntermodalRouter< E, L, N, V >::addAccess(), IntermodalRouter< E, L, N, V >::addCarEdges(), IntermodalNetwork< E, L, N, V >::addConnectors(), IntermodalRouter< E, L, N, V >::addSchedule(), IntermodalNetwork< E, L, N, V >::IntermodalNetwork(), and IntermodalRouter< E, L, N, V >::splitEdge().
|
inline |
Definition at line 233 of file IntermodalNetwork.h.
References IntermodalNetwork< E, L, N, V >::myEdges.
Referenced by IntermodalRouter< E, L, N, V >::createNet(), and PedestrianRouter< E, L, N, V, DijkstraRouterTT< IntermodalEdge< E, L, N, V >, IntermodalTrip< E, N, V >, prohibited_withPermissions< IntermodalEdge< E, L, N, V >, IntermodalTrip< E, N, V > > > >::PedestrianRouter().
|
inline |
Returns the arriving Intermodal edge.
Definition at line 264 of file IntermodalNetwork.h.
References IntermodalNetwork< E, L, N, V >::myArrivalLookup, POSITION_EPS, and SUMOReal.
Referenced by IntermodalRouter< E, L, N, V >::addCarEdges(), PedestrianRouter< E, L, N, V, DijkstraRouterTT< IntermodalEdge< E, L, N, V >, IntermodalTrip< E, N, V >, prohibited_withPermissions< IntermodalEdge< E, L, N, V >, IntermodalTrip< E, N, V > > > >::compute(), IntermodalRouter< E, L, N, V >::compute(), and IntermodalNetwork< E, L, N, V >::IntermodalNetwork().
|
inline |
Returns the pair of forward and backward edge.
Definition at line 238 of file IntermodalNetwork.h.
References IntermodalNetwork< E, L, N, V >::myBidiLookup.
Referenced by IntermodalRouter< E, L, N, V >::addAccess(), IntermodalNetwork< E, L, N, V >::IntermodalNetwork(), PedestrianRouter< E, L, N, V, DijkstraRouterTT< IntermodalEdge< E, L, N, V >, IntermodalTrip< E, N, V >, prohibited_withPermissions< IntermodalEdge< E, L, N, V >, IntermodalTrip< E, N, V > > > >::prohibit(), and IntermodalRouter< E, L, N, V >::prohibit().
|
inline |
Returns the departing Intermodal edge.
Definition at line 248 of file IntermodalNetwork.h.
References IntermodalNetwork< E, L, N, V >::myDepartLookup, POSITION_EPS, and SUMOReal.
Referenced by IntermodalRouter< E, L, N, V >::addAccess(), IntermodalRouter< E, L, N, V >::addCarEdges(), PedestrianRouter< E, L, N, V, DijkstraRouterTT< IntermodalEdge< E, L, N, V >, IntermodalTrip< E, N, V >, prohibited_withPermissions< IntermodalEdge< E, L, N, V >, IntermodalTrip< E, N, V > > > >::compute(), IntermodalRouter< E, L, N, V >::compute(), and IntermodalNetwork< E, L, N, V >::IntermodalNetwork().
|
private |
retrieve the arrival edges for the given input edge E
Definition at line 291 of file IntermodalNetwork.h.
Referenced by IntermodalNetwork< E, L, N, V >::addConnectors(), IntermodalNetwork< E, L, N, V >::getArrivalEdge(), and IntermodalNetwork< E, L, N, V >::IntermodalNetwork().
|
private |
retrieve the forward and backward edge for the given input edge E
Definition at line 285 of file IntermodalNetwork.h.
Referenced by IntermodalNetwork< E, L, N, V >::getBothDirections(), and IntermodalNetwork< E, L, N, V >::IntermodalNetwork().
|
private |
retrieve the depart edges for the given input edge E
Definition at line 288 of file IntermodalNetwork.h.
Referenced by IntermodalNetwork< E, L, N, V >::addConnectors(), IntermodalNetwork< E, L, N, V >::getDepartEdge(), and IntermodalNetwork< E, L, N, V >::IntermodalNetwork().
|
private |
the edge dictionary
Definition at line 282 of file IntermodalNetwork.h.
Referenced by IntermodalNetwork< E, L, N, V >::addEdge(), IntermodalNetwork< E, L, N, V >::getAllEdges(), IntermodalNetwork< E, L, N, V >::IntermodalNetwork(), and IntermodalNetwork< E, L, N, V >::~IntermodalNetwork().