SUMO - Simulation of Urban MObility
RORouteAggregator::ComparatorNumVehicles Struct Reference

Public Member Functions

 ComparatorNumVehicles (SameTargetMap &sameTargetMap)
 
bool operator() (const ROEdge *const a, const ROEdge *const b)
 

Data Fields

SameTargetMapmySameTargetMap
 

Private Member Functions

ComparatorNumVehiclesoperator= (const ComparatorNumVehicles &)
 Invalidated assignment operator. More...
 

Detailed Description

Function-object for sorting from highest to lowest vehicle count.

Definition at line 118 of file RORouteAggregator.h.

Constructor & Destructor Documentation

RORouteAggregator::ComparatorNumVehicles::ComparatorNumVehicles ( SameTargetMap sameTargetMap)
inline

Definition at line 120 of file RORouteAggregator.h.

Member Function Documentation

bool RORouteAggregator::ComparatorNumVehicles::operator() ( const ROEdge *const  a,
const ROEdge *const  b 
)
inline

Definition at line 123 of file RORouteAggregator.h.

References mySameTargetMap.

ComparatorNumVehicles& RORouteAggregator::ComparatorNumVehicles::operator= ( const ComparatorNumVehicles )
private

Invalidated assignment operator.

Field Documentation

SameTargetMap& RORouteAggregator::ComparatorNumVehicles::mySameTargetMap

Definition at line 127 of file RORouteAggregator.h.

Referenced by operator()().


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