Eclipse SUMO - Simulation of Urban MObility
SUMOAbstractRouter< E, V >::EdgeInfo Class Reference

#include <SUMOAbstractRouter.h>

Collaboration diagram for SUMOAbstractRouter< E, V >::EdgeInfo:
[legend]

Public Member Functions

 EdgeInfo (const E *const e)
 Constructor. More...
 
void reset ()
 

Data Fields

const E *const edge
 The current edge. More...
 
double effort
 Effort to reach the edge. More...
 
double heuristicEffort
 Estimated effort to reach the edge (effort + lower bound on remaining effort) More...
 
double leaveTime
 The time the vehicle leaves the edge. More...
 
const EdgeInfoprev
 The previous edge. More...
 
bool prohibited
 whether the edge is currently not allowed More...
 
bool visited
 whether the edge was already evaluated More...
 

Detailed Description

template<class E, class V>
class SUMOAbstractRouter< E, V >::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 53 of file SUMOAbstractRouter.h.

Constructor & Destructor Documentation

◆ EdgeInfo()

template<class E , class V >
SUMOAbstractRouter< E, V >::EdgeInfo::EdgeInfo ( const E *const  e)
inline

Constructor.

Definition at line 56 of file SUMOAbstractRouter.h.

Member Function Documentation

◆ reset()

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

Definition at line 83 of file SUMOAbstractRouter.h.

References SUMOAbstractRouter< E, V >::EdgeInfo::effort, SUMOAbstractRouter< E, V >::EdgeInfo::heuristicEffort, and SUMOAbstractRouter< E, V >::EdgeInfo::visited.

Referenced by CHRouter< E, V >::Unidirectional::init().

Here is the caller graph for this function:

Field Documentation

◆ edge

◆ effort

◆ heuristicEffort

template<class E , class V >
double SUMOAbstractRouter< E, V >::EdgeInfo::heuristicEffort

Estimated effort to reach the edge (effort + lower bound on remaining effort)

Definition at line 69 of file SUMOAbstractRouter.h.

Referenced by AStarRouter< E, V >::EdgeInfoComparator::operator()(), and SUMOAbstractRouter< E, V >::EdgeInfo::reset().

◆ leaveTime

template<class E , class V >
double SUMOAbstractRouter< E, V >::EdgeInfo::leaveTime

The time the vehicle leaves the edge.

Definition at line 72 of file SUMOAbstractRouter.h.

◆ prev

template<class E , class V >
const EdgeInfo* SUMOAbstractRouter< E, V >::EdgeInfo::prev

The previous edge.

Definition at line 75 of file SUMOAbstractRouter.h.

Referenced by SUMOAbstractRouter< E, V >::buildPathFrom().

◆ prohibited

template<class E , class V >
bool SUMOAbstractRouter< E, V >::EdgeInfo::prohibited

whether the edge is currently not allowed

Definition at line 81 of file SUMOAbstractRouter.h.

◆ visited

template<class E , class V >
bool SUMOAbstractRouter< E, V >::EdgeInfo::visited

whether the edge was already evaluated

Definition at line 78 of file SUMOAbstractRouter.h.

Referenced by SUMOAbstractRouter< E, V >::EdgeInfo::reset().


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