![]() |
Eclipse SUMO - Simulation of Urban MObility
|
Sorts vehicles by their position (descending) More...
Public Member Functions | |
| int | operator() (MSVehicle *v1, MSVehicle *v2) const |
| Comparing operator. | |
| vehicle_position_sorter (const MSLane *lane) | |
| Constructor. | |
Data Fields | |
| const MSLane * | myLane |
|
inlineexplicit |
Comparing operator.
| [in] | v1 | First vehicle to compare |
| [in] | v2 | Second vehicle to compare |
Definition at line 3503 of file MSLane.cpp.
References MSVehicle::getBackPositionOnLane(), MSBaseVehicle::getNumericalID(), and myLane.
| const MSLane* MSLane::vehicle_position_sorter::myLane |
Definition at line 1663 of file MSLane.h.
Referenced by operator()().