|
SUMO - Simulation of Urban MObility
|
#include <SUMOAbstractRouter.h>
Data Structures | |
| class | ROAbstractEdgeEffortRetriever |
Public Member Functions | |
| virtual void | compute (const E *from, const E *to, const V *const vehicle, SUMOTime msTime, std::vector< const E * > &into)=0 |
| Builds the route between the given edges using the minimum afford at the given time The definition of the afford depends on the wished routing scheme. | |
| virtual SUMOReal | recomputeCosts (const std::vector< const E * > &edges, const V *const v, SUMOTime msTime) const =0 |
| SUMOAbstractRouter () | |
| Constructor. | |
| virtual | ~SUMOAbstractRouter () |
| Destructor. | |
The interface for routing the vehicles over the network.
Definition at line 48 of file SUMOAbstractRouter.h.
| SUMOAbstractRouter< E, V >::SUMOAbstractRouter | ( | ) | [inline] |
Constructor.
Definition at line 74 of file SUMOAbstractRouter.h.
| virtual SUMOAbstractRouter< E, V >::~SUMOAbstractRouter | ( | ) | [inline, virtual] |
Destructor.
Definition at line 77 of file SUMOAbstractRouter.h.
| virtual void SUMOAbstractRouter< E, V >::compute | ( | const E * | from, |
| const E * | to, | ||
| const V *const | vehicle, | ||
| SUMOTime | msTime, | ||
| std::vector< const E * > & | into | ||
| ) | [pure virtual] |
Builds the route between the given edges using the minimum afford at the given time The definition of the afford depends on the wished routing scheme.
Implemented in ROJTRRouter, TraCIDijkstraRouter< E >, DijkstraRouterEffortBase< E, V, PF >, and DijkstraRouterTTBase< E, V, PF >.
Referenced by RORouteDef_OrigDest::buildCurrentRoute(), RORouteDef_Complete::buildCurrentRoute(), RORouteDef_Alternatives::buildCurrentRoute(), and MSBaseVehicle::reroute().
| virtual SUMOReal SUMOAbstractRouter< E, V >::recomputeCosts | ( | const std::vector< const E * > & | edges, |
| const V *const | v, | ||
| SUMOTime | msTime | ||
| ) | const [pure virtual] |
Implemented in ROJTRRouter, TraCIDijkstraRouter< E >, DijkstraRouterEffortBase< E, V, PF >, and DijkstraRouterTTBase< E, V, PF >.
Referenced by RORouteDef_OrigDest::addAlternative(), RORouteDef_Alternatives::addAlternative(), RORouteDef_Complete::buildCurrentRoute(), RORouteDef_Alternatives::buildCurrentRoute(), and RORouteDef_Complete::writeXMLDefinition().