Eclipse SUMO - Simulation of Urban MObility
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
ROHelper Namespace Reference

Some helping methods for router. More...

Functions

bool noMandatory (const ConstROEdgeVector &mandatory, ConstROEdgeVector::const_iterator start, ConstROEdgeVector::const_iterator end)
 
void recheckForLoops (ConstROEdgeVector &edges, const ConstROEdgeVector &mandatory)
 Checks whether the given edge list contains loops and removes them.
 

Detailed Description

Some helping methods for router.

Function Documentation

◆ noMandatory()

bool ROHelper::noMandatory ( const ConstROEdgeVector mandatory,
ConstROEdgeVector::const_iterator  start,
ConstROEdgeVector::const_iterator  end 
)

Definition at line 122 of file ROHelper.cpp.

Referenced by recheckForLoops().

Here is the caller graph for this function:

◆ recheckForLoops()

void ROHelper::recheckForLoops ( ConstROEdgeVector edges,
const ConstROEdgeVector mandatory 
)

Checks whether the given edge list contains loops and removes them.

Parameters
[in]edgesThe list of edges to remove loops from

Definition at line 37 of file ROHelper.cpp.

References noMandatory().

Referenced by RORoute::recheckForLoops().

Here is the caller graph for this function: