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

#include <DijkstraRouter.h>

Collaboration diagram for DijkstraRouter< E, V, PF >::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...
 
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 PF>
class DijkstraRouter< 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 79 of file DijkstraRouter.h.

Constructor & Destructor Documentation

◆ EdgeInfo()

Member Function Documentation

◆ operator=()

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

Invalidated assignment operator.

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

◆ reset()

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

Field Documentation

◆ edge

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

The current edge.

Definition at line 86 of file DijkstraRouter.h.

Referenced by DijkstraRouter< E, V, PF >::EdgeInfoByEffortComparator::operator()().

◆ effort

◆ leaveTime

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

◆ prev

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

The previous edge.

Definition at line 95 of file DijkstraRouter.h.

◆ visited

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

The previous edge.

Definition at line 98 of file DijkstraRouter.h.


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