![]() |
Eclipse SUMO - Simulation of Urban MObility
|
sorts the persons by position on the lane. If dir is forward, higher x positions come first. More...
#include <MSPModel_Striping.h>
Public Member Functions | |
by_xpos_sorter (int dir) | |
constructor | |
bool | operator() (const PState *p1, const PState *p2) const |
comparing operation | |
Private Attributes | |
const int | myDir |
sorts the persons by position on the lane. If dir is forward, higher x positions come first.
Definition at line 439 of file MSPModel_Striping.h.
|
inline |
constructor
Definition at line 442 of file MSPModel_Striping.h.
|
inline |
comparing operation
Definition at line 446 of file MSPModel_Striping.h.
References MSPModel_Striping::PState::getID(), myDir, and MSPModel_Striping::PState::myRelX.
|
private |
Definition at line 454 of file MSPModel_Striping.h.
Referenced by operator()().