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 (size_t id)
 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 111 of file AStarRouter.h.

Constructor & Destructor Documentation

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

Member Function Documentation

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

Definition at line 137 of file AStarRouter.h.

References max.

Field Documentation

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

The current edge.

Definition at line 123 of file AStarRouter.h.

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

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 129 of file AStarRouter.h.

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

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

The previous edge.

Definition at line 132 of file AStarRouter.h.

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

The previous edge.

Definition at line 135 of file AStarRouter.h.


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