Eclipse SUMO - Simulation of Urban MObility
Loading...
Searching...
No Matches
AFInfo< E >::ArcInfo Class Reference

#include <AFInfo.h>

Inheritance diagram for AFInfo< E >::ArcInfo:
[legend]
Collaboration diagram for AFInfo< E >::ArcInfo:
[legend]

Public Member Functions

 ArcInfo (const E *const e)
 Constructor param[in] e The edge.
 
ArcInfooperator= (const ArcInfo &other)
 Copy constructor.
 
void reset ()
 Reset the arc information.
 
 ~ArcInfo ()
 Destructor.
 

Data Fields

std::vector< bool > arcFlags
 The arc flags.
 
const E *const edge
 The current edge.
 
std::vector< double > effortsToBoundaryNodes
 The efforts to boundary nodes.
 
double key
 The key for sorting the heap.
 
bool touched
 The flag indicating whether the edge has already been touched or not.
 

Detailed Description

template<class E>
class AFInfo< E >::ArcInfo

Derived from ArcInfoBase. Therefore it tholds a pointer to the associated edge, flag information for arc flag routing, a key for sorting the heap, a flag indicating whether the edge has already been touched. Additionally, it has labels for holding (tentative/final) distances to the boundary nodes

Definition at line 123 of file AFInfo.h.

Constructor & Destructor Documentation

◆ ArcInfo()

template<class E >
AFInfo< E >::ArcInfo::ArcInfo ( const E *const  e)
inline

Constructor param[in] e The edge.

Definition at line 128 of file AFInfo.h.

◆ ~ArcInfo()

template<class E >
AFInfo< E >::ArcInfo::~ArcInfo ( )
inline

Destructor.

Definition at line 145 of file AFInfo.h.

Member Function Documentation

◆ operator=()

template<class E >
ArcInfo & AFInfo< E >::ArcInfo::operator= ( const ArcInfo other)
inline

Copy constructor.

Parameters
[in]otherThe other arc info instance to copy
Returns
This instance (i.e., the result of the copy)

Definition at line 135 of file AFInfo.h.

References AFInfo< E >::ArcInfo::effortsToBoundaryNodes.

◆ reset()

template<class E >
void AFInfo< E >::ArcInfo::reset ( )
inlinevirtual

Reset the arc information.

Reimplemented from AFInfo< E >::FlagInfo.

Definition at line 147 of file AFInfo.h.

Field Documentation

◆ arcFlags

template<class E >
std::vector<bool> AFInfo< E >::ArcInfoBase::arcFlags
inherited

◆ edge

template<class E >
const E* const AFInfo< E >::FlagInfo::edge
inherited

The current edge.

Definition at line 65 of file AFInfo.h.

Referenced by AFBuild< E, N, V, M >::computeArcFlagsAux(), and AFInfo< E >::FlagInfo::operator=().

◆ effortsToBoundaryNodes

◆ key

◆ touched

template<class E >
bool AFInfo< E >::ArcInfoBase::touched
inherited

The flag indicating whether the edge has already been touched or not.

Definition at line 111 of file AFInfo.h.

Referenced by AFCentralizedSPTree< E, N, V >::computeCentralizedSPTree(), and AFInfo< E >::ArcInfoBase::operator=().


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