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

#include <DijkstraRouter.h>

Collaboration diagram for DijkstraRouter< E, V, BASE >::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 leaveTime
 The time the vehicle leaves the edge. More...
 
const EdgeInfo * prev
 The previous edge. More...
 
const E * via
 The optional internal edge corresponding to prev. More...
 
bool visited
 The previous edge. More...
 

Private Member Functions

EdgeInfo & operator= (const EdgeInfo &s)=delete
 Invalidated assignment operator. More...
 

Detailed Description

template<class E, class V, class BASE>
class DijkstraRouter< E, V, BASE >::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 70 of file DijkstraRouter.h.

Constructor & Destructor Documentation

◆ EdgeInfo()

template<class E, class V, class BASE>
DijkstraRouter< E, V, BASE >::EdgeInfo::EdgeInfo ( const E *const  e)
inline

Constructor.

Definition at line 73 of file DijkstraRouter.h.

Referenced by DijkstraRouter< E, V, BASE >::DijkstraRouter().

Member Function Documentation

◆ operator=()

template<class E, class V, class BASE>
EdgeInfo& DijkstraRouter< E, V, BASE >::EdgeInfo::operator= ( const EdgeInfo &  s)
privatedelete

Invalidated assignment operator.

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

◆ reset()

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

Field Documentation

◆ edge

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

◆ effort

template<class E, class V, class BASE>
double DijkstraRouter< E, V, BASE >::EdgeInfo::effort

◆ leaveTime

template<class E, class V, class BASE>
double DijkstraRouter< E, V, BASE >::EdgeInfo::leaveTime

The time the vehicle leaves the edge.

Definition at line 83 of file DijkstraRouter.h.

Referenced by DijkstraRouter< E, V, BASE >::compute().

◆ prev

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

The previous edge.

Definition at line 86 of file DijkstraRouter.h.

Referenced by DijkstraRouter< E, V, BASE >::buildPathFrom(), and DijkstraRouter< E, V, BASE >::compute().

◆ via

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

The optional internal edge corresponding to prev.

Definition at line 89 of file DijkstraRouter.h.

Referenced by DijkstraRouter< E, V, BASE >::compute().

◆ visited

template<class E, class V, class BASE>
bool DijkstraRouter< E, V, BASE >::EdgeInfo::visited

The previous edge.

Definition at line 92 of file DijkstraRouter.h.

Referenced by DijkstraRouter< E, V, BASE >::compute().


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