TraCIDijkstraRouter< E >::EdgeInfo Struct Reference

#include <TraCIDijkstraRouter.h>


Detailed Description

template<class E>
struct TraCIDijkstraRouter< E >::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 73 of file TraCIDijkstraRouter.h.


Public Member Functions

 EdgeInfo (const E *edgeArg, SUMOReal effortArg, EdgeInfo *prevArg, SUMOReal distArg)
 Constructor.
 EdgeInfo (const E *edgeArg, SUMOReal effortArg, EdgeInfo *prevArg)
 Constructor.
 EdgeInfo ()
 Constructor.

Data Fields

SUMOReal dist
 Distance from the begin.
const E * edge
 The current edge.
SUMOReal effort
 Effort to reach the edge.
EdgeInfoprev
 The previous edge.

Constructor & Destructor Documentation

template<class E>
TraCIDijkstraRouter< E >::EdgeInfo::EdgeInfo (  )  [inline]

Constructor.

Definition at line 76 of file TraCIDijkstraRouter.h.

00077                 : edge(0), effort(0), prev(0) {}

template<class E>
TraCIDijkstraRouter< E >::EdgeInfo::EdgeInfo ( const E *  edgeArg,
SUMOReal  effortArg,
EdgeInfo prevArg 
) [inline]

Constructor.

Definition at line 81 of file TraCIDijkstraRouter.h.

00082                 : edge(edgeArg), effort(effortArg), prev(prevArg) {}

template<class E>
TraCIDijkstraRouter< E >::EdgeInfo::EdgeInfo ( const E *  edgeArg,
SUMOReal  effortArg,
EdgeInfo prevArg,
SUMOReal  distArg 
) [inline]

Constructor.

Definition at line 85 of file TraCIDijkstraRouter.h.

00086                 : edge(edgeArg), effort(effortArg), prev(prevArg), dist(distArg) {}


Field Documentation

template<class E>
SUMOReal TraCIDijkstraRouter< E >::EdgeInfo::dist

Distance from the begin.

Definition at line 98 of file TraCIDijkstraRouter.h.

Referenced by TraCIDijkstraRouter< E >::EdgeInfoCont::add().

template<class E>
const E* TraCIDijkstraRouter< E >::EdgeInfo::edge

template<class E>
SUMOReal TraCIDijkstraRouter< E >::EdgeInfo::effort

template<class E>
EdgeInfo* TraCIDijkstraRouter< E >::EdgeInfo::prev


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

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