SUMO - Simulation of Urban MObility
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
TraCIDijkstraRouter< E >::EdgeInfo Struct Reference

#include <TraCIDijkstraRouter.h>

Public Member Functions

 EdgeInfo ()
 Constructor.
 EdgeInfo (const E *edgeArg, SUMOReal effortArg, EdgeInfo *prevArg)
 Constructor.
 EdgeInfo (const E *edgeArg, SUMOReal effortArg, EdgeInfo *prevArg, SUMOReal distArg)
 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.

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 77 of file TraCIDijkstraRouter.h.


Constructor & Destructor Documentation

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

Constructor.

Definition at line 80 of file TraCIDijkstraRouter.h.

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

Constructor.

Definition at line 85 of file TraCIDijkstraRouter.h.

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

Constructor.

Definition at line 89 of file TraCIDijkstraRouter.h.


Field Documentation

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

Distance from the begin.

Definition at line 102 of file TraCIDijkstraRouter.h.

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

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

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