Class Lanearea

java.lang.Object
de.tudresden.sumo.cmd.Lanearea

public class Lanearea extends Object
Author:
Mario Krumnow, Evamarie Wiessner
  • Constructor Details Link icon

    • Lanearea Link icon

      public Lanearea()
  • Method Details Link icon

    • getIDList Link icon

      public static SumoCommand getIDList()
      Returns a list of all areal detectors in the network.
      Returns:
      a list of IDs of all areal detectors
    • getLastStepVehicleNumber Link icon

      public static SumoCommand getLastStepVehicleNumber(String loopID)
      Returns the number of vehicles on the detector
      Parameters:
      loopID - a string identifying the loop
      Returns:
      numeber of vehicles
    • getIDCount Link icon

      public static SumoCommand getIDCount()
      Returns the number of the areal detectors in the network.
      Returns:
      the number of areal detectors
    • getLastStepHaltingNumber Link icon

      public static SumoCommand getLastStepHaltingNumber(String loopID)
      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 Link icon

      public static SumoCommand getLastStepVehicleIDs(String loopID)
      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 Link icon

      public static SumoCommand getJamLengthVehicle(String loopID)
      getJamLengthVehicle
      Parameters:
      loopID - a string identifying the loop
      Returns:
      jam length in vehicles
    • getJamLengthMeters Link icon

      public static SumoCommand getJamLengthMeters(String loopID)
      getJamLengthMeters
      Parameters:
      loopID - a string identifying the loop
      Returns:
      jam length in [m]
    • getLastStepMeanSpeed Link icon

      public static SumoCommand getLastStepMeanSpeed(String loopID)
      getLastStepMeanSpeed
      Parameters:
      loopID - a string identifying the loop
      Returns:
      last step mean speed
    • getLastStepOccupancy Link icon

      public static SumoCommand getLastStepOccupancy(String loopID)
      getLastStepOccupancy
      Parameters:
      loopID - a string identifying the loop
      Returns:
      last step occupancy
    • getPosition Link icon

      public static SumoCommand getPosition(String loopID)
      getPosition
      Parameters:
      loopID - a string identifying the loop
      Returns:
      position of the vehicle in m
    • getLaneID Link icon

      public static SumoCommand getLaneID(String loopID)
      getLaneID
      Parameters:
      loopID - a string identifying the loop
      Returns:
      lane ID of the detector
    • getLength Link icon

      public static SumoCommand getLength(String loopID)
      getlength
      Parameters:
      loopID - a string identifying the loop
      Returns:
      lane ID of the detector