![]() |
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 MSPModel_InteractingState *p1, const MSPModel_InteractingState *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 402 of file MSPModel_Striping.h.
|
inline |
|
inline |
comparing operation
Definition at line 409 of file MSPModel_Striping.h.
References MSPModel_InteractingState::getEdgePos(), MSPModel_InteractingState::getID(), and myDir.
|
private |
Definition at line 417 of file MSPModel_Striping.h.
Referenced by by_xpos_sorter(), and operator()().