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) {
virtual void cleanupHelper()
The pedestrian following model.
The base class for an intersection.
static MSNet * getInstance()
Returns the pointer to the unique instance of MSNet (singleton).
static const double SIDEWALK_OFFSET
the offset for computing person positions when walking on edges without a sidewalk ...
std::vector< const MSEdge * > ConstMSEdgeVector
static MSPModel * myModel
const MSJunction * getToJunction() const
The simulated network and simulation perfomer.
static OptionsCont & getOptions()
Retrieves the options.
The pedestrian following model.
A road/street connecting two junctions.
static int canTraverse(int dir, const ConstMSEdgeVector &route)
static const int UNDEFINED_DIRECTION
The pedestrian following model.
static MSPModel * getModel()
std::string getString(const std::string &name) const
Returns the string-value of the named option (only for Option_String)
const MSJunction * getFromJunction() const
static void cleanup()
remove state at simulation end
A storage for options typed value containers)
static const int BACKWARD
static const double SAFETY_GAP