SUMO - Simulation of Urban MObility
|
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. |
A class for sorting route descriptions by their length.
Definition at line 153 of file RODFRouteCont.h.
RODFRouteCont::by_distance_sorter::by_distance_sorter | ( | ) | [inline, explicit] |
Constructor.
Definition at line 156 of file RODFRouteCont.h.
int RODFRouteCont::by_distance_sorter::operator() | ( | const RODFRouteDesc & | p1, |
const RODFRouteDesc & | p2 | ||
) | [inline] |
Sorting function; compares RODFRouteDesc::distance2Last.
Definition at line 159 of file RODFRouteCont.h.
References RODFRouteDesc::distance2Last.