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

#include <AFInfo.h>

Inheritance diagram for AFInfo< E >::FlagInfo:
[legend]

Public Member Functions

 FlagInfo (const E *const e)
 Constructor param[in] e The edge.
 
FlagInfooperator= (const FlagInfo &other)
 Copy constructor.
 
virtual void reset ()
 Reset the flag information.
 
virtual ~FlagInfo ()
 Destructor.
 

Data Fields

std::vector< bool > arcFlags
 The arc flags.
 
const E *const edge
 The current edge.
 

Detailed Description

template<class E>
class AFInfo< E >::FlagInfo

It holds a pointer to the associated edge, and flag information for arc flag routing

Definition at line 37 of file AFInfo.h.

Constructor & Destructor Documentation

◆ FlagInfo()

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

Constructor param[in] e The edge.

Definition at line 42 of file AFInfo.h.

◆ ~FlagInfo()

template<class E >
virtual AFInfo< E >::FlagInfo::~FlagInfo ( )
inlinevirtual

Destructor.

Definition at line 59 of file AFInfo.h.

Member Function Documentation

◆ operator=()

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

Copy constructor.

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

Definition at line 49 of file AFInfo.h.

References AFInfo< E >::FlagInfo::arcFlags, and AFInfo< E >::FlagInfo::edge.

◆ reset()

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

Reset the flag information.

Reimplemented in AFInfo< E >::ArcInfoBase, and AFInfo< E >::ArcInfo.

Definition at line 61 of file AFInfo.h.

References AFInfo< E >::FlagInfo::arcFlags.

Field Documentation

◆ arcFlags

template<class E >
std::vector<bool> AFInfo< E >::FlagInfo::arcFlags

◆ edge

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

The current edge.

Definition at line 65 of file AFInfo.h.

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


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