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 >

Detailed Description

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

The interface for routing the vehicles over the network.

Definition at line 46 of file SUMOAbstractRouter.h.


Public Member Functions

virtual void compute (const E *from, const E *to, const V *const vehicle, SUMOTime time, 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 time)=0 throw ()
 SUMOAbstractRouter ()
 Constructor.
virtual ~SUMOAbstractRouter ()
 Destructor.

Data Structures

class  ROAbstractEdgeEffortRetriever

Constructor & Destructor Documentation

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

Constructor.

Definition at line 72 of file SUMOAbstractRouter.h.

00072 { }

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

Destructor.

Definition at line 75 of file SUMOAbstractRouter.h.

00075 { }


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  time,
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(), and RORouteDef_Alternatives::buildCurrentRoute().

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


The documentation for this class was generated from the following file:

Generated on Wed May 5 00:07:00 2010 for Sumo - Simulation of Urban MObility by  doxygen 1.5.6