SUMO - Simulation of Urban MObility
AStarRouter< E, V, PF >::EdgeInfo Struct Reference

#include <AStarRouter.h>

Collaboration diagram for AStarRouter< E, V, PF >::EdgeInfo:
Collaboration graph

Public Member Functions

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

Data Fields

const E * edge
 The current edge. More...
 
SUMOReal heuristicTime
 Estimated time to reach the edge (traveltime + lower bound on remaining time) More...
 
EdgeInfoprev
 The previous edge. More...
 
SUMOReal traveltime
 Effort to reach the edge. More...
 
bool visited
 The previous edge. More...
 

Detailed Description

template<class E, class V, class PF>
struct AStarRouter< 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 82 of file AStarRouter.h.

Constructor & Destructor Documentation

§ EdgeInfo()

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

Member Function Documentation

§ reset()

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

Definition at line 108 of file AStarRouter.h.

References max.

Field Documentation

§ edge

template<class E, class V, class PF>
const E* AStarRouter< E, V, PF >::EdgeInfo::edge

The current edge.

Definition at line 94 of file AStarRouter.h.

Referenced by AStarRouter< E, V, PF >::EdgeInfoComparator::operator()().

§ heuristicTime

template<class E, class V, class PF>
SUMOReal AStarRouter< E, V, PF >::EdgeInfo::heuristicTime

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

Definition at line 100 of file AStarRouter.h.

Referenced by AStarRouter< E, V, PF >::EdgeInfoComparator::operator()().

§ prev

template<class E, class V, class PF>
EdgeInfo* AStarRouter< E, V, PF >::EdgeInfo::prev

The previous edge.

Definition at line 103 of file AStarRouter.h.

§ traveltime

template<class E, class V, class PF>
SUMOReal AStarRouter< E, V, PF >::EdgeInfo::traveltime

§ visited

template<class E, class V, class PF>
bool AStarRouter< E, V, PF >::EdgeInfo::visited

The previous edge.

Definition at line 106 of file AStarRouter.h.


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