DijkstraRouterTTBase< E, V, PF >::EdgeInfo Struct Reference

#include <DijkstraRouterTT.h>


Detailed Description

template<class E, class V, class PF>
struct DijkstraRouterTTBase< E, V, PF >::EdgeInfo

A definition about a route's edge with the effort needed to reach it and the information about the previous edge.

Definition at line 81 of file DijkstraRouterTT.h.


Public Member Functions

 EdgeInfo (size_t id)
 Constructor.

Data Fields

const E * edge
 The current edge.
EdgeInfoprev
 The previous edge.
SUMOReal traveltime
 Effort to reach the edge.
bool visited
 The previous edge.

Constructor & Destructor Documentation

template<class E, class V, class PF>
DijkstraRouterTTBase< E, V, PF >::EdgeInfo::EdgeInfo ( size_t  id  )  [inline]

Constructor.

Definition at line 84 of file DijkstraRouterTT.h.

00085                 : edge(E::dictionary(id)), traveltime(0), prev(0), visited(false) {}


Field Documentation

template<class E, class V, class PF>
const E* DijkstraRouterTTBase< E, V, PF >::EdgeInfo::edge

template<class E, class V, class PF>
EdgeInfo* DijkstraRouterTTBase< E, V, PF >::EdgeInfo::prev

template<class E, class V, class PF>
SUMOReal DijkstraRouterTTBase< E, V, PF >::EdgeInfo::traveltime

template<class E, class V, class PF>
bool DijkstraRouterTTBase< E, V, PF >::EdgeInfo::visited

The previous edge.

Definition at line 97 of file DijkstraRouterTT.h.

Referenced by DijkstraRouterTTBase< E, V, PF >::compute().


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

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