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...
 
double heuristicTime
 Estimated time to reach the edge (traveltime + lower bound on remaining time) More...
 
EdgeInfoprev
 The previous edge. More...
 
double 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 99 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 125 of file AStarRouter.h.

Field Documentation

◆ edge

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

The current edge.

Definition at line 111 of file AStarRouter.h.

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

◆ heuristicTime

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

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

Definition at line 117 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 120 of file AStarRouter.h.

◆ traveltime

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


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