![]() |
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. More... | |
vehicle_position_sorter (const MSLane *lane) | |
Constructor. More... | |
Data Fields | |
const MSLane * | myLane |
|
inlineexplicit |
Constructor.
Definition at line 1439 of file MSLane.h.
References MSLane::VehPosition::operator()().
Comparing operator.
[in] | v1 | First vehicle to compare |
[in] | v2 | Second vehicle to compare |
Definition at line 2832 of file MSLane.cpp.
References MSVehicle::getBackPositionOnLane().