SUMO - Simulation of Urban MObility
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AStarRouterTTBase< E, V, PF >::EdgeInfo Struct Reference

#include <AStarRouter.h>

Public Member Functions

 EdgeInfo (size_t id)
 Constructor.
void reset ()

Data Fields

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

Detailed Description

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

Constructor & Destructor Documentation

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

Constructor.

Definition at line 92 of file AStarRouter.h.

Member Function Documentation

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

Field Documentation

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

The current edge.

Definition at line 101 of file AStarRouter.h.

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

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

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

Definition at line 107 of file AStarRouter.h.

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

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

The previous edge.

Definition at line 110 of file AStarRouter.h.

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

Effort to reach the edge.

Definition at line 104 of file AStarRouter.h.

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

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

The previous edge.

Definition at line 113 of file AStarRouter.h.

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


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