Package de.tudresden.sumo.cmd
Class Multientryexit
java.lang.Object
de.tudresden.sumo.cmd.Multientryexit
- Author:
- Mario Krumnow, Evamarie Wiessner
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionstatic SumoCommandReturns the number of all multi-entry/multi-exit detectors in the network.static SumoCommandReturns a list of IDs of all multi-entry/multi-exit detectors within the scenario.static SumoCommandgetLastStepHaltingNumber(String detID) Returns the number of vehicles which were halting during the last time step.static SumoCommandgetLastStepMeanSpeed(String detID) Returns the mean speed of vehicles (in m/s) that have been within the named multi-entry/multi-exit detector within the last simulation step.static SumoCommandgetLastStepVehicleIDs(String detID) Returns the list of IDs of vehicles that have been within the named multi-entry/multi-exit detector in the last simulation step.static SumoCommandgetLastStepVehicleNumber(String detID) Returns the number of vehicles that have been within the named multi-entry/multi-exit detector within the last simulation step.
- 
Constructor Details- 
Multientryexitpublic Multientryexit()
 
- 
- 
Method Details- 
getIDListReturns a list of IDs of all multi-entry/multi-exit detectors within the scenario.- Returns:
- list of IDs of all detectors
 
- 
getIDCountReturns the number of all multi-entry/multi-exit detectors in the network.- Returns:
- the number of detectors
 
- 
getLastStepHaltingNumberReturns the number of vehicles which were halting during the last time step.- Parameters:
- detID- a string identifying the multi-entry/multi-exit detector
- Returns:
- number of halting vehicles
 
- 
getLastStepMeanSpeedReturns the mean speed of vehicles (in m/s) that have been within the named multi-entry/multi-exit detector within the last simulation step.- Parameters:
- detID- a string identifying the multi-entry/multi-exit detector
- Returns:
- average speed within the last time step
 
- 
getLastStepVehicleIDsReturns the list of IDs of vehicles that have been within the named multi-entry/multi-exit detector in the last simulation step.- Parameters:
- detID- a string identifying the multi-entry/multi-exit detector
- Returns:
- list of IDs of all vehicles
 
- 
getLastStepVehicleNumberReturns the number of vehicles that have been within the named multi-entry/multi-exit detector within the last simulation step.- Parameters:
- detID- a string identifying the multi-entry/multi-exit detector
- Returns:
- number of vehicles
 
 
-