Eclipse SUMO - Simulation of Urban MObility
Loading...
Searching...
No Matches
RODFRouteCont::by_distance_sorter Class Reference

A class for sorting route descriptions by their length. More...

#include <RODFRouteCont.h>

Public Member Functions

 by_distance_sorter ()
 Constructor.
int operator() (const RODFRouteDesc &p1, const RODFRouteDesc &p2)
 Sorting function; compares RODFRouteDesc::distance2Last.

Detailed Description

A class for sorting route descriptions by their length.

Definition at line 138 of file RODFRouteCont.h.

Constructor & Destructor Documentation

◆ by_distance_sorter()

RODFRouteCont::by_distance_sorter::by_distance_sorter ( )
inlineexplicit

Constructor.

Definition at line 141 of file RODFRouteCont.h.

Member Function Documentation

◆ operator()()

int RODFRouteCont::by_distance_sorter::operator() ( const RODFRouteDesc & p1,
const RODFRouteDesc & p2 )
inline

Sorting function; compares RODFRouteDesc::distance2Last.

Definition at line 144 of file RODFRouteCont.h.

References RODFRouteDesc::distance2Last.


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