 |
Eclipse SUMO - Simulation of Urban MObility
|
Go to the documentation of this file.
63 const std::string model = oc.
getString(
"pedestrian.model");
64 if (model ==
"striping") {
66 }
else if (model ==
"nonInteracting") {
69 }
else if (model ==
"remote") {
74 throw ProcessError(
"Unknown pedestrian model '" + model +
"'");
94 for (ConstMSEdgeVector::const_iterator it = route.begin(); it != route.end(); ++it) {
96 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)
std::vector< const MSEdge * > ConstMSEdgeVector
static OptionsCont & getOptions()
Retrieves the options.
The pedestrian following model.
const MSJunction * getFromJunction() const
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()