|
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 More... | |
| bool | operator() (const PState *p1, const PState *p2) const |
| comparing operation More... | |
Private Member Functions | |
| by_xpos_sorter & | operator= (const by_xpos_sorter &) |
| Invalidated assignment operator. More... | |
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 317 of file MSPModel_Striping.h.
|
inline |
constructor
Definition at line 320 of file MSPModel_Striping.h.
|
inline |
comparing operation
Definition at line 324 of file MSPModel_Striping.h.
References MSTransportable::getID(), myDir, MSPModel_Striping::PState::myPerson, and MSPModel_Striping::PState::myRelX.
|
private |
Invalidated assignment operator.
|
private |
Definition at line 332 of file MSPModel_Striping.h.
Referenced by operator()().