SUMO - Simulation of Urban MObility

SUMOAbstractRouter< E, V > Class Template Reference

#include <SUMOAbstractRouter.h>

Inheritance diagram for SUMOAbstractRouter< E, V >:
DijkstraRouterEffortBase< E, V, PF > DijkstraRouterTTBase< E, V, PF > DijkstraRouterEffort_ByProxi< E, V, PF, EC > DijkstraRouterEffort_Direct< E, V, PF > DijkstraRouterTT_ByProxi< E, V, PF, EC > DijkstraRouterTT_Direct< E, V, PF >

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.

Detailed Description

template<class E, class V>
class SUMOAbstractRouter< E, V >

The interface for routing the vehicles over the network.

Definition at line 48 of file SUMOAbstractRouter.h.


Constructor & Destructor Documentation

template<class E, class V>
SUMOAbstractRouter< E, V >::SUMOAbstractRouter ( ) [inline]

Constructor.

Definition at line 74 of file SUMOAbstractRouter.h.

template<class E, class V>
virtual SUMOAbstractRouter< E, V >::~SUMOAbstractRouter ( ) [inline, virtual]

Destructor.

Definition at line 77 of file SUMOAbstractRouter.h.


Member Function Documentation

template<class E, class V>
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().

template<class E, class V>
virtual SUMOReal SUMOAbstractRouter< E, V >::recomputeCosts ( const std::vector< const E * > &  edges,
const V *const  v,
SUMOTime  msTime 
) const [pure virtual]

The documentation for this class was generated from the following file:
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Friends Defines