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 EdgeInfo * prev
 The previous edge. More...
 
bool prohibited
 whether the edge is currently not allowed More...
 
bool visited
 whether the edge was already evaluated More...
 

Private Member Functions

EdgeInfo & operator= (const EdgeInfo &s)=delete
 Invalidated assignment operator. 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 51 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 54 of file SUMOAbstractRouter.h.

Member Function Documentation

◆ operator=()

template<class E , class V >
EdgeInfo& SUMOAbstractRouter< E, V >::EdgeInfo::operator= ( const EdgeInfo &  s)
privatedelete

Invalidated assignment operator.

◆ reset()

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

Definition at line 81 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 67 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 70 of file SUMOAbstractRouter.h.

◆ prev

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

The previous edge.

Definition at line 73 of file SUMOAbstractRouter.h.

Referenced by AStarRouter< E, V >::buildPathFrom(), and DijkstraRouter< 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 79 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 76 of file SUMOAbstractRouter.h.

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


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