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

#include <DijkstraRouterEffort.h>

Public Member Functions

 EdgeInfo (size_t id)
 Constructor.
void reset ()

Data Fields

const E * edge
 The current edge.
SUMOReal effort
 Effort to reach the edge.
SUMOReal leaveTime
 The time the vehicle leaves the edge.
EdgeInfo * prev
 The previous edge.
bool visited
 The previous edge.

Detailed Description

template<class E, class V, class PF>
struct DijkstraRouterEffortBase< 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 89 of file DijkstraRouterEffort.h.


Constructor & Destructor Documentation

template<class E , class V , class PF >
DijkstraRouterEffortBase< E, V, PF >::EdgeInfo::EdgeInfo ( size_t  id)
inline

Constructor.

Definition at line 92 of file DijkstraRouterEffort.h.


Member Function Documentation

template<class E , class V , class PF >
void DijkstraRouterEffortBase< E, V, PF >::EdgeInfo::reset ( )
inline

Field Documentation

template<class E , class V , class PF >
SUMOReal DijkstraRouterEffortBase< E, V, PF >::EdgeInfo::leaveTime

The time the vehicle leaves the edge.

Definition at line 102 of file DijkstraRouterEffort.h.

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

template<class E , class V , class PF >
EdgeInfo* DijkstraRouterEffortBase< E, V, PF >::EdgeInfo::prev
template<class E , class V , class PF >
bool DijkstraRouterEffortBase< E, V, PF >::EdgeInfo::visited

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