SUMO - Simulation of Urban MObility
|
#include <PedestrianRouter.h>
Public Types | |
typedef PedestrianEdge< E, L, N > | _PedestrianEdge |
typedef PedestrianTrip< E, N > | _PedestrianTrip |
typedef SUMOReal(* | Operation )(const E *const, const PedestrianTrip< E, N > *const, SUMOReal) |
Type of the function that is used to retrieve the edge effort. More... | |
Public Member Functions | |
virtual SUMOAbstractRouter< E, PedestrianTrip< E, N > > * | clone () const |
void | compute (const E *from, const E *to, SUMOReal departPos, SUMOReal arrivalPos, SUMOReal speed, SUMOTime msTime, const N *onlyNode, std::vector< const E * > &into, bool allEdges=false) |
Builds the route between the given edges using the minimum effort at the given time The definition of the effort depends on the wished routing scheme. More... | |
void | compute (const E *, const E *, const _PedestrianTrip *const, SUMOTime, std::vector< const E * > &) |
Builds the route between the given edges using the minimum effort at the given time The definition of the effort depends on the wished routing scheme. More... | |
void | endQuery (int visits) |
SUMOReal | getEffort (const E *const e, const PedestrianTrip< E, N > *const v, SUMOReal t) const |
PedestrianRouter () | |
Constructor. More... | |
virtual void | prepare (const E *, const PedestrianTrip< E, N > *, bool) |
void | prohibit (const std::vector< E * > &toProhibit) |
SUMOReal | recomputeCosts (const std::vector< const E * > &, const _PedestrianTrip *const, SUMOTime) const |
void | startQuery () |
virtual | ~PedestrianRouter () |
Destructor. More... | |
Protected Attributes | |
Operation | myOperation |
The object's operation to perform. More... | |
Private Member Functions | |
PedestrianRouter & | operator= (const PedestrianRouter &s) |
Invalidated assignment operator. More... | |
Private Attributes | |
INTERNALROUTER * | myInternalRouter |
The router for pedestrians (on a bidirectional network of sidewalks and crossings
Definition at line 449 of file PedestrianRouter.h.
typedef PedestrianEdge<E, L, N> PedestrianRouter< E, L, N, INTERNALROUTER >::_PedestrianEdge |
Definition at line 452 of file PedestrianRouter.h.
typedef PedestrianTrip<E, N> PedestrianRouter< E, L, N, INTERNALROUTER >::_PedestrianTrip |
Definition at line 453 of file PedestrianRouter.h.
|
inherited |
Type of the function that is used to retrieve the edge effort.
Definition at line 56 of file SUMOAbstractRouter.h.
|
inline |
Constructor.
Definition at line 456 of file PedestrianRouter.h.
|
inlinevirtual |
Destructor.
Definition at line 463 of file PedestrianRouter.h.
|
inlinevirtual |
Implements SUMOAbstractRouter< E, PedestrianTrip< E, N > >.
Definition at line 467 of file PedestrianRouter.h.
|
inline |
Builds the route between the given edges using the minimum effort at the given time The definition of the effort depends on the wished routing scheme.
Definition at line 473 of file PedestrianRouter.h.
Referenced by MSPModel_Striping::getNextLane(), MSRouteHandler::myStartElement(), MSPModel_Striping::PState::PState(), and RORouteHandler::routePedestrian().
|
inlinevirtual |
Builds the route between the given edges using the minimum effort at the given time The definition of the effort depends on the wished routing scheme.
Implements SUMOAbstractRouter< E, PedestrianTrip< E, N > >.
Definition at line 512 of file PedestrianRouter.h.
|
inlineinherited |
Definition at line 100 of file SUMOAbstractRouter.h.
References SysUtils::getCurrentMillis(), SUMOAbstractRouter< E, V >::myQueryStartTime, SUMOAbstractRouter< E, V >::myQueryTimeSum, and SUMOAbstractRouter< E, V >::myQueryVisits.
|
inlineinherited |
Definition at line 91 of file SUMOAbstractRouter.h.
References SUMOAbstractRouter< E, V >::myOperation.
|
private |
Invalidated assignment operator.
|
inlinevirtualinherited |
Definition at line 87 of file SUMOAbstractRouter.h.
|
inline |
Definition at line 521 of file PedestrianRouter.h.
Referenced by MSNet::getPedestrianRouter().
|
inlinevirtual |
Implements SUMOAbstractRouter< E, PedestrianTrip< E, N > >.
Definition at line 517 of file PedestrianRouter.h.
|
inlineinherited |
Definition at line 95 of file SUMOAbstractRouter.h.
References SysUtils::getCurrentMillis(), SUMOAbstractRouter< E, V >::myNumQueries, and SUMOAbstractRouter< E, V >::myQueryStartTime.
|
private |
Definition at line 531 of file PedestrianRouter.h.
Referenced by PedestrianRouter< E, L, N, DijkstraRouterTT< PedestrianEdge< E, L, N >, PedestrianTrip< E, N >, prohibited_withRestrictions< PedestrianEdge< E, L, N >, PedestrianTrip< E, N > > > >::compute(), PedestrianRouter< E, L, N, DijkstraRouterTT< PedestrianEdge< E, L, N >, PedestrianTrip< E, N >, prohibited_withRestrictions< PedestrianEdge< E, L, N >, PedestrianTrip< E, N > > > >::PedestrianRouter(), PedestrianRouter< E, L, N, DijkstraRouterTT< PedestrianEdge< E, L, N >, PedestrianTrip< E, N >, prohibited_withRestrictions< PedestrianEdge< E, L, N >, PedestrianTrip< E, N > > > >::prohibit(), and PedestrianRouter< E, L, N, DijkstraRouterTT< PedestrianEdge< E, L, N >, PedestrianTrip< E, N >, prohibited_withRestrictions< PedestrianEdge< E, L, N >, PedestrianTrip< E, N > > > >::~PedestrianRouter().
|
protectedinherited |
The object's operation to perform.
Definition at line 107 of file SUMOAbstractRouter.h.