SUMO - Simulation of Urban MObility
|
Sorts persons by their positions. More...
#include <MSEdge.h>
Public Member Functions | |
int | operator() (const MSPerson *const p1, const MSPerson *const p2) const |
comparing operator More... | |
person_by_offset_sorter (SUMOTime timestep) | |
constructor More... | |
Private Attributes | |
SUMOTime | myTime |
|
inlineexplicit |
int MSEdge::person_by_offset_sorter::operator() | ( | const MSPerson *const | p1, |
const MSPerson *const | p2 | ||
) | const |
comparing operator
Definition at line 664 of file MSEdge.cpp.
References MSPerson::getCurrentStage(), MSPerson::MSPersonStage::getEdgePos(), MSPerson::getID(), myTime, and SUMOReal.
|
private |
Definition at line 670 of file MSEdge.h.
Referenced by operator()().