Eclipse SUMO - Simulation of Urban MObility
|
Used for sorting the cells by the begin time they describe. More...
Public Member Functions | |
cell_by_begin_comparator () | |
constructor | |
int | operator() (ODCell *p1, ODCell *p2) const |
Comparing operator. | |
Used for sorting the cells by the begin time they describe.
Definition at line 389 of file ODMatrix.h.
|
inlineexplicit |
constructor
Definition at line 392 of file ODMatrix.h.
Comparing operator.
Compares two cells by the begin of the time they describe. The sort is stabilized (with secondary sort keys being origin and destination) to get comparable results with different platforms / compilers.
[in] | p1 | First cell to compare |
[in] | p2 | Second cell to compare |
Definition at line 405 of file ODMatrix.h.
References ODCell::begin, ODCell::destination, and ODCell::origin.