SUMO - Simulation of Urban MObility
SUMOAbstractRouter< E, V >::EdgeInfo Class Reference

#include <SUMOAbstractRouter.h>

Collaboration diagram for SUMOAbstractRouter< E, V >::EdgeInfo:
Collaboration graph

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 EdgeInfoprev
 The previous edge. More...
 
const E * via
 The optional internal edge corresponding to prev. More...
 
bool visited
 The previous edge. More...
 

Private Member Functions

EdgeInfooperator= (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 53 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 56 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.

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

◆ reset()

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

Field Documentation

◆ edge

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

The current edge.

Definition at line 62 of file SUMOAbstractRouter.h.

Referenced by SUMOAbstractRouterPermissions< MSEdge, SUMOVehicle >::isProhibited().

◆ effort

template<class E, class V>
double SUMOAbstractRouter< E, V >::EdgeInfo::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 69 of file SUMOAbstractRouter.h.

◆ leaveTime

template<class E, class V>
double SUMOAbstractRouter< E, V >::EdgeInfo::leaveTime

The time the vehicle leaves the edge.

Definition at line 72 of file SUMOAbstractRouter.h.

◆ prev

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

The previous edge.

Definition at line 75 of file SUMOAbstractRouter.h.

Referenced by SUMOAbstractRouter< E, IntermodalTrip< E, N, V > >::recomputeCosts().

◆ via

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

The optional internal edge corresponding to prev.

Definition at line 78 of file SUMOAbstractRouter.h.

◆ visited

template<class E, class V>
bool SUMOAbstractRouter< E, V >::EdgeInfo::visited

The previous edge.

Definition at line 81 of file SUMOAbstractRouter.h.


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