Package de.tudresden.sumo.cmd
Class Lanearea
java.lang.Object
de.tudresden.sumo.cmd.Lanearea
- Author:
- Mario Krumnow, Evamarie Wiessner
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic SumoCommand
Returns the number of the areal detectors in the network.static SumoCommand
Returns a list of all areal detectors in the network.static SumoCommand
getJamLengthMeters
(String loopID) getJamLengthMetersstatic SumoCommand
getJamLengthVehicle
(String loopID) getJamLengthVehiclestatic SumoCommand
getLaneIDstatic SumoCommand
getLastStepHaltingNumber
(String loopID) Returns the number of vehicles which were halting during the last time step.static SumoCommand
getLastStepMeanSpeed
(String loopID) getLastStepMeanSpeedstatic SumoCommand
getLastStepOccupancy
(String loopID) getLastStepOccupancystatic SumoCommand
getLastStepVehicleIDs
(String loopID) Returns the list of ids of vehicles that were on the named detector in the last simulation step.static SumoCommand
getLastStepVehicleNumber
(String loopID) Returns the number of vehicles on the detectorstatic SumoCommand
getlengthstatic SumoCommand
getPosition
(String loopID) getPosition
-
Constructor Details
-
Lanearea
public Lanearea()
-
-
Method Details
-
getIDList
Returns a list of all areal detectors in the network.- Returns:
- a list of IDs of all areal detectors
-
getLastStepVehicleNumber
Returns the number of vehicles on the detector- Parameters:
loopID
- a string identifying the loop- Returns:
- numeber of vehicles
-
getIDCount
Returns the number of the areal detectors in the network.- Returns:
- the number of areal detectors
-
getLastStepHaltingNumber
Returns the number of vehicles which were halting during the last time step.- Parameters:
loopID
- a string identifying the loop- Returns:
- numeber of vehicles
-
getLastStepVehicleIDs
Returns the list of ids of vehicles that were on the named detector in the last simulation step.- Parameters:
loopID
- a string identifying the loop- Returns:
- a list of all vehicles on the detector
-
getJamLengthVehicle
getJamLengthVehicle- Parameters:
loopID
- a string identifying the loop- Returns:
- jam length in vehicles
-
getJamLengthMeters
getJamLengthMeters- Parameters:
loopID
- a string identifying the loop- Returns:
- jam length in [m]
-
getLastStepMeanSpeed
getLastStepMeanSpeed- Parameters:
loopID
- a string identifying the loop- Returns:
- last step mean speed
-
getLastStepOccupancy
getLastStepOccupancy- Parameters:
loopID
- a string identifying the loop- Returns:
- last step occupancy
-
getPosition
getPosition- Parameters:
loopID
- a string identifying the loop- Returns:
- position of the vehicle in m
-
getLaneID
getLaneID- Parameters:
loopID
- a string identifying the loop- Returns:
- lane ID of the detector
-
getLength
getlength- Parameters:
loopID
- a string identifying the loop- Returns:
- lane ID of the detector
-