 |
Eclipse SUMO - Simulation of Urban MObility
|
Go to the documentation of this file.
139 const MSVehicle*
const veh = dynamic_cast<const MSVehicle* const>(v);
153 const MSVehicle*
const veh = dynamic_cast<const MSVehicle* const>(v);
172 throw ProcessError(
"A network was not yet constructed.");
194 myAmInterrupted(false),
196 myHavePermissions(false),
197 myHasInternalLinks(false),
198 myHasElevation(false),
199 myHasPedestrianNetwork(false),
200 myHasBidiEdges(false),
201 myEdgeDataEndTime(-1),
203 myRouterEffort(nullptr),
204 myPedestrianRouter(nullptr),
205 myDynamicShapeUpdater(nullptr) {
207 throw ProcessError(
"A network was already constructed.");
244 std::vector<SUMOTime> stateDumpTimes,
245 std::vector<std::string> stateDumpFiles,
246 bool hasInternalLinks,
265 WRITE_WARNING(
"Opposite direction driving does not work together with the sublane model.");
305 delete router.second;
323 const std::map<SUMOVehicleClass, double>*
325 std::map<std::string, std::map<SUMOVehicleClass, double> >::const_iterator i =
myRestrictions.find(
id);
351 std::cout <<
SIMTIME <<
" MSNet::simulate(" << start <<
", " << stop <<
")"
383 std::ostringstream msg;
385 msg <<
"Performance: " <<
"\n" <<
" Duration: " << duration <<
"ms" <<
"\n";
387 msg <<
" Real time factor: " << (
STEPS2TIME(
myStep - start) * 1000. / (double)duration) <<
"\n";
388 msg.setf(std::ios::fixed, std::ios::floatfield);
389 msg.setf(std::ios::showpoint);
390 msg <<
" UPS: " << ((double)
myVehiclesMoved / ((
double)duration / 1000)) <<
"\n";
395 msg <<
"Vehicles: " <<
"\n"
402 std::vector<std::string> reasons;
421 msg <<
"Persons: " <<
"\n"
459 std::cout <<
SIMTIME <<
": MSNet::simulationStep() called"
460 <<
", myStep = " <<
myStep
470 bool loadRequested = !TraCI::getLoadArgs().empty();
498 MSRoutingEngine::waitForAll();
547 MSRoutingEngine::waitForAll();
600 if (stopTime >= 0 &&
myStep >= stopTime) {
619 return "The final simulation step has been reached.";
621 return "All vehicles have left the simulation.";
623 return "TraCI requested termination.";
625 return "An error occurred (see log).";
627 return "Interrupted.";
629 return "Too many teleports.";
631 return "TraCI issued load command.";
633 return "Unknown reason.";
670 if (oc.
isSet(
"netstate-dump")) {
672 oc.
getInt(
"netstate-dump.precision"));
683 oc.
getInt(
"emission-output.precision"));
689 oc.
getInt(
"battery-output.precision"));
712 timestep = timestep.substr(0, timestep.length() - 3);
714 std::string filename = output +
"_" + timestep +
".vtp";
743 od.
writeAttr(
"meanWaitingTime", meanWaitingTime);
744 od.
writeAttr(
"meanTravelTime", meanTravelTime);
746 od.
writeAttr(
"meanSpeed", meanSpeed.first);
747 od.
writeAttr(
"meanSpeedRelative", meanSpeed.second);
763 for (MSEdgeVector::const_iterator i = edges.begin(); i != edges.end(); ++i) {
764 const std::vector<MSLane*>& lanes = (*i)->getLanes();
765 for (std::vector<MSLane*>::const_iterator j = lanes.begin(); j != lanes.end(); ++j) {
766 const std::vector<MSLink*>& links = (*j)->getLinkCont();
767 for (std::vector<MSLink*>::const_iterator k = links.begin(); k != links.end(); ++k) {
768 (*k)->writeApproaching(od, (*j)->getID());
837 std::ostringstream oss;
838 oss.setf(std::ios::fixed, std::ios::floatfield);
839 oss.setf(std::ios::showpoint);
844 << (
TS / durationSec) <<
"*RT, ~"
847 oss <<
" (0ms ?*RT. ?";
858 std::cout << oss.str().substr(0, 90 - prev.length());
887 (*i)->vehicleStateChanged(vehicle, to, info);
913 return stop->
getID();
936 static_cast<MSChargingStation*>(it.second)->writeChargingStationOutput(output);
957 if (routingAlgorithm ==
"dijkstra") {
961 if (routingAlgorithm !=
"astar") {
962 WRITE_WARNING(
"TraCI and Triggers cannot use routing algorithm '" + routingAlgorithm +
"'. using 'astar' instead.");
999 if (opt ==
"parkingAreas") {
1001 }
else if (opt ==
"ptStops") {
1003 }
else if (opt ==
"allJunctions") {
1023 const MSEdge*
const edge = &i.second->getLane().getEdge();
1029 const MSEdge*
const edge = &i.second->getLane().getEdge();
1032 for (
const auto& a : i.second->getAllAccessPos()) {
1035 if (external !=
nullptr) {
1047 for (MSEdgeVector::const_iterator e = edges.begin(); e != edges.end(); ++e) {
1048 for (std::vector<MSLane*>::const_iterator i = (*e)->getLanes().begin(); i != (*e)->getLanes().end(); ++i) {
1049 if ((*i)->getShape().hasElevation()) {
1072 if (e->getBidiEdge() !=
nullptr) {
ShapeContainer * myShapeContainer
A container for geometrical shapes;.
MSNet(MSVehicleControl *vc, MSEventControl *beginOfTimestepEvents, MSEventControl *endOfTimestepEvents, MSEventControl *insertionEvents, ShapeContainer *shapeCont=0)
Constructor.
A train stop (alias for bus stop)
const MSLane & getLane() const
Returns the lane this stop is located at.
static void cleanup()
Static cleanup.
bool isSet(const std::string &name, bool failOnNonExistant=true) const
Returns the information whether the named option is set.
static void write(OutputDevice &of, SUMOTime timestep)
Dumping a hugh List of Parameters available in the Simulation.
bool hasInternalLinks() const
return whether the network contains internal links
Stores time-dependant events and executes them at the proper time.
static double getEffort(const MSEdge *const e, const SUMOVehicle *const v, double t)
Returns the effort to pass an edge.
SUMOVehicleClass
Definition of vehicle classes to differ between different lane usage and authority types.
int getInt(const std::string &name) const
Returns the int-value of the named option (only for Option_Integer)
MSStoppingPlace * getStoppingPlace(const std::string &id, const SumoXMLTag category) const
Returns the named stopping place of the given category.
A lane area vehicles can halt at.
bool myHasElevation
Whether the network contains elevation data.
static void cleanup()
remove state at simulation end
_IntermodalEdge * getStopEdge(const std::string &stopId) const
Returns the associated stop edge.
#define WRITE_WARNING(msg)
int getDepartedVehicleNo() const
Returns the number of inserted vehicles.
int getTeleportsWrongLane() const
return the number of teleports due to vehicles stuck on the wrong lane
void preSimStepOutput() const
Prints the current step number.
Representation of a lane in the micro simulation.
SUMOAbstractRouter< MSEdge, SUMOVehicle > & getRouterTT(const MSEdgeVector &prohibited=MSEdgeVector()) const
A device which collects info on the vehicle trip (mainly on departure and arrival)
static const std::string STAGE_INSERTIONS
static void closeAll(bool keepErrorRetrievers=false)
bool generatesOutput()
Whether this device requested to write output.
void simulationStep()
Performs a single simulation step.
junctions with edges allowing the additional mode
int emitVehicles(SUMOTime time)
Emits vehicles that want to depart at the given time.
MSVehicleControl * myVehicleControl
Controls vehicle building and deletion;.
static void write(OutputDevice &of, const MSEdgeControl &ec, SUMOTime timestep, int precision)
Writes the complete network state of the given edges into the given device.
double getEndLanePosition() const
Returns the end position of this stop.
Static storage of an output device and its base (abstract) implementation.
static void cleanupStatic()
Place for static initializations of simulation components (called after successful net build)
void removeVehicleStateListener(VehicleStateListener *listener)
Removes a vehicle states listener.
SUMOAbstractRouter< MSEdge, SUMOVehicle > & getRouterEffort(const MSEdgeVector &prohibited=MSEdgeVector()) const
int getPendingFlowCount() const
Returns the number of flows that are still active.
ShapeContainer & getShapeContainer()
Returns the shapes container.
void loadNext(SUMOTime step)
loads the next routes up to and including the given time step
static MSNet * myInstance
Unique instance of MSNet.
void writeOutput()
Write netstate, summary and detector output.
int getActiveVehicleCount() const
Returns the number of build vehicles that have not been removed or need to wait for a passenger or a ...
SimulationState simulationState(SUMOTime stopTime) const
Called after a simulation step, this method returns the current simulation state.
int getEmergencyStops() const
return the number of emergency stops
virtual MSTransportableControl & getContainerControl()
Returns the container control.
void informVehicleStateListener(const SUMOVehicle *const vehicle, VehicleState to, const std::string &info="")
Informs all added listeners about a vehicle's state change.
Interface for objects listening to vehicle state changes.
Detectors container; responsible for string and output generation.
The simulated network and simulation perfomer.
MSEventControl * myEndOfTimestepEvents
Controls events executed at the end of a time step;.
double getBeginLanePosition() const
Returns the begin position of this stop.
void updateAndWriteOutput()
This is called once per time step in MSNet::writeOutput() and collects the surrounding vehicles,...
std::unique_ptr< MSDynamicShapeUpdater > myDynamicShapeUpdater
Updater for dynamic shapes that are tracking traffic objects (ensures removal of shape dynamics when ...
void abortWaiting()
informes about all waiting vehicles (deletion in destructor)
MSInsertionControl & getInsertionControl()
Returns the insertion control.
bool warnOnce(const std::string &typeAndID)
return whether a warning regarding the given object shall be issued
std::string getString(const std::string &name) const
Returns the string-value of the named option (only for Option_String)
static void write(OutputDevice &of, SUMOTime timestep, int precision)
Writes the complete network state of the given edges into the given device.
int myMaxTeleports
Maximum number of teleports.
static const std::string STAGE_LANECHANGE
SUMOTime myEdgeDataEndTime
end of loaded edgeData
TRACI_CONST int ROUTING_MODE_COMBINED
std::vector< MSTrafficLightLogic * > getAllLogics() const
Returns a vector which contains all logics.
int getTeleportsJam() const
return the number of teleports due to jamming
static void init()
Static initalization.
Representation of a vehicle.
void postSimStepOutput() const
Prints the statistics of the step at its end.
IntermodalRouter< MSEdge, MSLane, MSJunction, SUMOVehicle > MSIntermodalRouter
Storage for geometrical objects.
double myVersion
the network version
bool getBool(const std::string &name) const
Returns the boolean-value of the named option (only for Option_Bool)
std::vector< SUMOTime > myStateDumpTimes
Times at which a state shall be written.
static void write(OutputDevice &of, SUMOTime timestep, bool elevation)
Writes the position and the angle of each vehicle into the given device.
static void cleanup()
Clean up remaining devices instances.
int getLoadedVehicleNo() const
Returns the number of build vehicles.
static OptionsCont & getOptions()
Retrieves the options.
static void clearAll()
Clears all dictionaries.
int getTeleportsYield() const
return the number of teleports due to vehicles stuck on a minor road
bool logSimulationDuration() const
Returns whether duration shall be logged.
static const std::set< MSDevice_SSM *, ComparatorNumericalIdLess > & getInstances()
returns all currently existing SSM devices
SimulationState simulate(SUMOTime start, SUMOTime stop)
Simulates from timestep start to stop.
int getWaitingVehicleNo() const
Returns the number of waiting vehicles.
MSDynamicShapeUpdater * makeDynamicShapeUpdater()
Creates and returns a dynamic shapes updater.
std::string getStoppingPlaceID(const MSLane *lane, const double pos, const SumoXMLTag category) const
Returns the stop of the given category close to the given position.
void close(SUMOTime step)
Closes the detector outputs.
static void saveState(const std::string &file, SUMOTime step)
Saves the current state.
void closeSimulation(SUMOTime start)
Closes the simulation (all files, connections, etc.)
SumoXMLTag
Numbers representing SUMO-XML - element names.
static void write(OutputDevice &of, SUMOTime timestep)
Export the queueing length in front of a junction (very experimental!)
SUMOAbstractRouter< MSEdge, SUMOVehicle > * myRouterTT
Computes the shortest path through a network using the Dijkstra algorithm.
void changeLanes(const SUMOTime t)
Moves (precomputes) critical vehicles.
std::vector< std::string > myStateDumpFiles
The names for the state files.
A storage for edge travel times and efforts.
static double gLateralResolution
static long getCurrentMillis()
Returns the current time in milliseconds.
bool closeTag(const std::string &comment="")
Closes the most recently opened tag and optionally adds a comment.
int getEndedVehicleNo() const
Returns the number of removed vehicles.
static void cleanup()
properly deletes all trigger instances
bool hasNonWaiting() const
checks whether any transportable is still engaged in walking / stopping
bool myLogExecutionTime
Information whether the simulation duration shall be logged.
void writeChargingStationOutput() const
write charging station output
static MSVehicleTransfer * getInstance()
Returns the instance of this object.
long long int myVehiclesMoved
The overall number of vehicle movements.
int getRunningVehicleNo() const
Returns the number of build and inserted, but not yet deleted vehicles.
const std::map< SUMOVehicleClass, double > * getRestrictions(const std::string &id) const
Returns the restrictions for an edge type If no restrictions are present, 0 is returned.
void writeOutput(SUMOTime step, bool closing)
Writes the output to be generated within the given time step.
The simulation does not contain further vehicles.
std::vector< std::string > & getLoadArgs()
Container for junctions; performs operations on all stored junctions.
void adaptIntermodalRouter(MSNet::MSIntermodalRouter &router) const
The ToC Device controls transition of control between automated and manual driving.
long mySimBeginMillis
The overall simulation duration.
OutputDevice & writeAttr(const SumoXMLAttr attr, const T &val)
writes a named attribute
bool myAmInterrupted
whether an interrupt occured
int getArrivedVehicleNo() const
Returns the number of arrived vehicles.
std::map< SumoXMLTag, NamedObjectCont< MSStoppingPlace * > > myStoppingPlaces
Dictionary of bus / container stops.
bool retrieveExistingTravelTime(const MSEdge *const e, const double t, double &value) const
Returns a travel time for an edge and time if stored.
std::pair< bool, NamedRTree > myLanesRTree
An RTree structure holding lane IDs.
SimulationState
Possible states of a simulation - running or stopped with different reasons.
The main mesocopic simulation loop.
const NamedObjectCont< MSStoppingPlace * > & getStoppingPlaces(SumoXMLTag category) const
The final simulation step has been performed.
A map of named object pointers.
static bool gCheck4Accidents
SUMOTime myStep
Current time step.
void adaptIntermodalRouter(MSNet::MSIntermodalRouter &router) const
MSEdgeWeightsStorage & getWeightsStorage()
Returns the net's internal edge travel times/efforts container.
VehicleState
Definition of a vehicle state.
An output device that encapsulates an ofstream.
bool lefthand() const
return whether the network was built for lefthand traffic
int getNumericalID() const
SUMOTime getCurrentTimeStep() const
Returns the current simulation step.
long myTraCIStepDuration
The last simulation step duration.
static void generateOutputForUnfinished()
generate vehroute output for vehicles which are still in the network
static void clear()
Clears the dictionary.
virtual ~MSNet()
Destructor.
A scoped lock which only triggers on condition.
An error occurred during the simulation step.
Inserts vehicles into the network when their departure time is reached.
std::string myStateDumpPrefix
name components for periodic state
bool hasTransportables() const
checks whether any transportable waits to finish her plan
static void clear()
Clears the dictionary (delete all known routes, too)
MSInsertionControl * myInserter
Controls vehicle insertion;.
public transport stops and access
MSTLLogicControl * myLogics
Controls tls logics, realizes waiting on tls rules;.
void writeBlocks(OutputDevice &od) const
write rail signal block output for all links and driveways
void addVehicleStateListener(VehicleStateListener *listener)
Adds a vehicle states listener.
static void clear()
Clears the dictionary.
std::map< std::string, bool > myWarnedOnce
container to record warnings that shall only be issued once
bool addStoppingPlace(const SumoXMLTag category, MSStoppingPlace *stop)
Adds a stopping place.
void determineCandidates(SUMOTime time)
Checks for all vehicles whether they can be emitted.
static void cleanupAll()
perform cleanup for all devices
std::string time2string(SUMOTime t)
void abortAnyWaitingForVehicle()
aborts the plan for any transportable that is still waiting for a ride
The simulation is loading.
virtual void addStop(const int stopEdge, const Parameterised ¶ms)=0
double getMinimumTravelTime(const SUMOVehicle *const veh) const
returns the minimum travel time for the given vehicle
MSJunctionControl * myJunctions
Controls junctions, realizes right-of-way rules;.
A storage for options typed value containers)
A road/street connecting two junctions.
void loadRoutes()
loads routes for the next few steps
bool checkWalkingarea()
check all lanes for type walkingArea
void prohibit(const std::vector< E * > &toProhibit)
void detectCollisions(SUMOTime timestep, const std::string &stage)
Detect collisions.
bool retrieveExistingEffort(const MSEdge *const e, const double t, double &value) const
Returns an effort for an edge and time if stored.
bool myLogStepNumber
Information whether the number of the simulation step shall be logged.
static void cleanup()
cleanup remaining data structures
SUMOTime myStateDumpPeriod
The period for writing state.
static void write(OutputDevice &of, SUMOTime timestep, int precision)
Writes the complete network state of the given edges into the given device.
void cleanup()
clean up subscriptions
SUMOTime getTargetTime() const
static const std::string STAGE_MOVEMENTS
static void write(OutputDevice &of, SUMOTime timestep)
Produce a VTK output to use with Tools like ParaView.
bool myHasPedestrianNetwork
Whether the network contains pedestrian network elements.
static void cleanup()
removes remaining vehicleInformation in sVehicles
void processCommandsUntilSimStep(SUMOTime step)
process all commands until the next SUMO simulation step. It is guaranteed that t->getTargetTime() >=...
void checkInsertions(SUMOTime time)
Checks "movement" of stored vehicles.
The connection to a client was closed by the client.
SUMOTime string2time(const std::string &r)
int getCollisionCount() const
return the number of collisions
PedestrianRouter< MSEdge, MSLane, MSJunction, MSVehicle > MSPedestrianRouter
int getJammedNumber() const
Returns the number of times a transportables was jammed.
void setJunctionApproaches(SUMOTime t)
Register junction approaches for all vehicles after velocities have been planned. This is a prerequis...
std::vector< VehicleStateListener * > myVehicleStateListeners
Container for vehicle state listener.
static void postProcessRemoteControl()
static const std::string STAGE_EVENTS
string constants for simstep stages
bool myHasBidiEdges
Whether the network contains bidirectional rail edges.
std::map< std::string, std::map< SUMOVehicleClass, double > > myRestrictions
The vehicle class specific speed restrictions.
OutputDevice & openTag(const std::string &xmlElement)
Opens an XML tag.
std::string toString(const T &t, std::streamsize accuracy=gPrecision)
static void generateOutputForUnfinished()
generate output for vehicles which are still in the network
const MSEdgeWeightsStorage & getWeightsStorage() const
Returns the vehicle's internal edge travel times/efforts container.
virtual int getHaltingVehicleNo() const
Returns the number of halting vehicles.
std::string myStateDumpSuffix
static MSNet * getInstance()
Returns the pointer to the unique instance of MSNet (singleton).
virtual MSTransportableControl & getPersonControl()
Returns the person control.
static MELoop * gMesoNet
mesoscopic simulation infrastructure
static void cleanup()
remove state at simulation end
The simulation is running.
static std::string printStatistics()
get statistics for printing to stdout
void removePending()
Removes a vehicle after it has ended.
MSIntermodalRouter & getIntermodalRouter(const int routingMode=0, const MSEdgeVector &prohibited=MSEdgeVector()) const
void checkWaiting(MSNet *net, const SUMOTime time)
checks whether any transportables waiting time is over
std::vector< MSEdge * > MSEdgeVector
int getRunningNumber() const
Returns the number of build and inserted, but not yet deleted transportables.
bool myLefthand
Whether the network was built for left-hand traffic.
MSTransportableControl * myContainerControl
Controls container building and deletion;.
void writeRailSignalBlocks() const
write rail signal block output
Computes the shortest path through a network using the A* algorithm.
MSPedestrianRouter * myPedestrianRouter
std::string joinToString(const std::vector< T > &v, const T_BETWEEN &between, std::streamsize accuracy=gPrecision)
the effort calculator interface
static void setArgs(int argc, char **argv)
Stores the command line arguments for later parsing.
SUMORouteLoaderControl * myRouteLoaders
Route loader for dynamic loading of routes.
virtual void execute(SUMOTime time)
Executes time-dependant commands.
const std::string generateStatistics(SUMOTime start)
Writes performance output and running vehicle stats.
double getTotalTravelTime() const
Returns the total travel time.
virtual std::pair< double, double > getVehicleMeanSpeeds() const
get current absolute and relative mean vehicle speed in the network
static void initStatic()
Place for static initializations of simulation components (called after successful net build)
The class responsible for building and deletion of vehicles.
Stores edges and lanes, performs moving of vehicle.
MSDetectorControl * myDetectorControl
Controls detectors;.
int getLoadedNumber() const
Returns the number of build transportables.
double getTotalDepartureDelay() const
Returns the total departure delay.
static TraCIServer * getInstance()
void addAccess(const std::string &stopId, const E *stopEdge, const double pos, const double length, const SumoXMLTag category)
Adds access edges for stopping places to the intermodal network.
int gPrecision
the precision for floating point outputs
A class that stores and controls tls and switching of their programs.
MSEdgeWeightsStorage * myEdgeWeights
The net's knowledge about edge efforts/travel times;.
bool checkBidiEdges()
check wether bidirectional edges occur in the network
void executeMovements(SUMOTime t)
Executes planned vehicle movements with regards to right-of-way.
void planMovements(SUMOTime t)
Compute safe velocities for all vehicles based on positions and speeds from the last time step....
static bool wasClosed()
check whether close was requested
void addRestriction(const std::string &id, const SUMOVehicleClass svc, const double speed)
Adds a restriction for an edge type.
TraCI server used to control sumo by a remote TraCI client.
std::map< int, MSIntermodalRouter * > myIntermodalRouter
void closeBuilding(const OptionsCont &oc, MSEdgeControl *edges, MSJunctionControl *junctions, SUMORouteLoaderControl *routeLoaders, MSTLLogicControl *tlc, std::vector< SUMOTime > stateDumpTimes, std::vector< std::string > stateDumpFiles, bool hasInternalLinks, bool hasNeighs, bool lefthand, double version)
Closes the network's building process.
SUMOAbstractRouter< MSEdge, SUMOVehicle > * myRouterEffort
int getTeleportCount() const
return the number of teleports (including collisions)
MSEventControl * myInsertionEvents
Controls insertion events;.
static std::string getStateMessage(SimulationState state)
Returns the message to show if a certain state occurs.
An external interrupt occured.
void patchActiveLanes()
Resets information whether a lane is active for all lanes.
Network * getNetwork() const
void check2Switch(SUMOTime step)
Checks whether any WAUT is trying to switch a tls into another program.
static void adaptIntermodalRouter(MSIntermodalRouter &router)
bool myHasInternalLinks
Whether the network contains internal links/lanes/edges.
static const MSEdgeVector & getAllEdges()
Returns all edges with a numerical id.
void writeOutput()
Write output to file given by option device.toc.file.
void simulate(SUMOTime tMax)
Perform simulation up to the given time.
EffortCalculator * getExternalEffort() const
bool checkElevation()
check all lanes for elevation data
The simulation had too many teleports.
const std::string & getID() const
Returns the id.
static double getTravelTime(const MSEdge *const e, const SUMOVehicle *const v, double t)
Returns the travel time to pass an edge.
MSEdgeControl * myEdges
Controls edges, performs vehicle movement;.
static void write(OutputDevice &of, const SUMOTime timestep)
Writes the complete network state into the given device.
static OutputDevice & getDeviceByOption(const std::string &name)
Returns the device described by the option.
#define WRITE_MESSAGE(msg)
std::vector< std::string > getStringVector(const std::string &name) const
Returns the list of string-vector-value of the named option (only for Option_String)
MSVehicleControl & getVehicleControl()
Returns the vehicle control.
MSTransportableControl * myPersonControl
Controls person building and deletion;.
const MSEdgeVector & getEdges() const
Returns loaded edges.
void updateDetectors(const SUMOTime step)
Computes detector values.
static const std::set< MSDevice_ToC *, ComparatorNumericalIdLess > & getInstances()
returns all currently existing ToC devices
static void cleanup()
Closes root tags of output files.
MSPedestrianRouter & getPedestrianRouter(const MSEdgeVector &prohibited=MSEdgeVector()) const
MSEventControl * myBeginOfTimestepEvents
Controls events executed at the begin of a time step;.
Representation of a vehicle in the micro simulation.