SUMO - Simulation of Urban MObility
|
Used for sorting the cells by the begin time they describe. More...
#include <ODMatrix.h>
Public Member Functions | |
cell_by_begin_sorter () | |
constructor | |
int | operator() (ODCell *p1, ODCell *p2) const |
Comparing operator. |
Used for sorting the cells by the begin time they describe.
Definition at line 334 of file ODMatrix.h.
|
inlineexplicit |
constructor
Definition at line 337 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 350 of file ODMatrix.h.
References ODCell::begin, ODCell::destination, and ODCell::origin.