67 const std::string model = oc.
getString(
"pedestrian.model");
68 if (model ==
"striping") {
70 }
else if (model ==
"nonInteracting") {
73 throw ProcessError(
"Unknown pedestrian model '" + model +
"'");
93 for (ConstMSEdgeVector::const_iterator it = route.begin(); it != route.end(); ++it) {
virtual void cleanupHelper()
static const SUMOReal SAFETY_GAP
The pedestrian following model.
The base class for an intersection.
static MSNet * getInstance()
Returns the pointer to the unique instance of MSNet (singleton).
std::vector< const MSEdge * > ConstMSEdgeVector
static MSPModel * myModel
The simulated network and simulation perfomer.
static OptionsCont & getOptions()
Retrieves the options.
The pedestrian following model.
std::string getString(const std::string &name) const
Returns the string-value of the named option (only for Option_String)
A road/street connecting two junctions.
static const int UNDEFINED_DIRECTION
The pedestrian following model.
static MSPModel * getModel()
static const SUMOReal SIDEWALK_OFFSET
the offset for computing person positions when walking on edges without a sidewalk ...
static void cleanup()
remove state at simulation end
A storage for options typed value containers)
static const int BACKWARD
const MSJunction * getFromJunction() const
const MSJunction * getToJunction() const
static bool canTraverse(int dir, const ConstMSEdgeVector &route)
return whether the route may traversed with the given starting direction