Package de.tudresden.sumo.cmd
Class Lanearea
java.lang.Object
de.tudresden.sumo.cmd.Lanearea
- Author:
- Mario Krumnow, Evamarie Wiessner
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionstatic SumoCommandReturns the number of the areal detectors in the network.static SumoCommandReturns a list of all areal detectors in the network.static SumoCommandgetJamLengthMeters(String loopID) getJamLengthMetersstatic SumoCommandgetJamLengthVehicle(String loopID) getJamLengthVehiclestatic SumoCommandgetLaneIDstatic SumoCommandgetLastStepHaltingNumber(String loopID) Returns the number of vehicles which were halting during the last time step.static SumoCommandgetLastStepMeanSpeed(String loopID) getLastStepMeanSpeedstatic SumoCommandgetLastStepOccupancy(String loopID) getLastStepOccupancystatic SumoCommandgetLastStepVehicleIDs(String loopID) Returns the list of ids of vehicles that were on the named detector in the last simulation step.static SumoCommandgetLastStepVehicleNumber(String loopID) Returns the number of vehicles on the detectorstatic SumoCommandgetlengthstatic SumoCommandgetPosition(String loopID) getPosition
- 
Constructor Details- 
Laneareapublic Lanearea()
 
- 
- 
Method Details- 
getIDListReturns a list of all areal detectors in the network.- Returns:
- a list of IDs of all areal detectors
 
- 
getLastStepVehicleNumberReturns the number of vehicles on the detector- Parameters:
- loopID- a string identifying the loop
- Returns:
- numeber of vehicles
 
- 
getIDCountReturns the number of the areal detectors in the network.- Returns:
- the number of areal detectors
 
- 
getLastStepHaltingNumberReturns the number of vehicles which were halting during the last time step.- Parameters:
- loopID- a string identifying the loop
- Returns:
- numeber of vehicles
 
- 
getLastStepVehicleIDsReturns 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
 
- 
getJamLengthVehiclegetJamLengthVehicle- Parameters:
- loopID- a string identifying the loop
- Returns:
- jam length in vehicles
 
- 
getJamLengthMetersgetJamLengthMeters- Parameters:
- loopID- a string identifying the loop
- Returns:
- jam length in [m]
 
- 
getLastStepMeanSpeedgetLastStepMeanSpeed- Parameters:
- loopID- a string identifying the loop
- Returns:
- last step mean speed
 
- 
getLastStepOccupancygetLastStepOccupancy- Parameters:
- loopID- a string identifying the loop
- Returns:
- last step occupancy
 
- 
getPositiongetPosition- Parameters:
- loopID- a string identifying the loop
- Returns:
- position of the vehicle in m
 
- 
getLaneIDgetLaneID- Parameters:
- loopID- a string identifying the loop
- Returns:
- lane ID of the detector
 
- 
getLengthgetlength- Parameters:
- loopID- a string identifying the loop
- Returns:
- lane ID of the detector
 
 
-