 |
Eclipse SUMO - Simulation of Urban MObility
|
Go to the documentation of this file.
54 FXMutex MSPModel::myInitializationMutex(
true);
70 const std::string model = oc.
getString(
"pedestrian.model");
71 if (model ==
"striping") {
73 }
else if (model ==
"nonInteracting") {
76 }
else if (model ==
"remote") {
81 throw ProcessError(
"Unknown pedestrian model '" + model +
"'");
101 for (ConstMSEdgeVector::const_iterator it = route.begin(); it != route.end(); ++it) {
103 if (junction !=
nullptr) {
The pedestrian following model.
The pedestrian following model.
static int canTraverse(int dir, const ConstMSEdgeVector &route)
static const int BACKWARD
The base class for an intersection.
The simulated network and simulation perfomer.
static const double SAFETY_GAP
std::string getString(const std::string &name) const
Returns the string-value of the named option (only for Option_String)
static int gNumSimThreads
how many threads to use for simulation
std::vector< const MSEdge * > ConstMSEdgeVector
static OptionsCont & getOptions()
Retrieves the options.
The pedestrian following model.
const MSJunction * getFromJunction() const
A scoped lock which only triggers on condition.
A storage for options typed value containers)
A road/street connecting two junctions.
const MSJunction * getToJunction() const
static MSPModel * myModel
static MSNet * getInstance()
Returns the pointer to the unique instance of MSNet (singleton).
static void cleanup()
remove state at simulation end
static const double SIDEWALK_OFFSET
the offset for computing person positions when walking on edges without a sidewalk
virtual void cleanupHelper()
static const int UNDEFINED_DIRECTION
static MSPModel * getModel()