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.

References edge.

Referenced by AFInfo< E >::ArcInfoBase::ArcInfoBase(), AFInfo< E >::ArcInfoBase::operator=(), and operator=().

Here is the caller graph for this function:

◆ ~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 arcFlags, edge, and FlagInfo().

◆ reset()

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

Reset the flag information.

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

Definition at line 61 of file AFInfo.h.

References arcFlags.

Field Documentation

◆ arcFlags

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

The arc flags.

Definition at line 67 of file AFInfo.h.

Referenced by AFRouter< E, N, V, M >::compute(), AFRouter< E, N, V, M >::flag(), operator=(), and reset().

◆ 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(), FlagInfo(), and operator=().


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