Package de.tudresden.sumo.util

Examples of de.tudresden.sumo.util.SumoCommand


  /**
   * Returns a list of all known vehicle types.
   */

  public static SumoCommand getIDList(){
    return new SumoCommand(Constants.CMD_GET_VEHICLETYPE_VARIABLE, Constants.ID_LIST, "", Constants.RESPONSE_GET_VEHICLETYPE_VARIABLE, Constants.TYPE_STRINGLIST);
  }
View Full Code Here


  /**
   * getImperfection
   */

  public static SumoCommand getImperfection(String typeID){
    return new SumoCommand(Constants.CMD_GET_VEHICLETYPE_VARIABLE, Constants.VAR_IMPERFECTION, typeID, Constants.RESPONSE_GET_VEHICLETYPE_VARIABLE, Constants.TYPE_DOUBLE);
  }
View Full Code Here

  /**
   * Returns the length of the named vehicle type.
   */

  public static SumoCommand getLength(String typeID){
    return new SumoCommand(Constants.CMD_GET_VEHICLETYPE_VARIABLE, Constants.VAR_LENGTH, typeID, Constants.RESPONSE_GET_VEHICLETYPE_VARIABLE, Constants.TYPE_DOUBLE);
  }
View Full Code Here

  /**
   * Return the maximum speed of the named vehicle type.
   */

  public static SumoCommand getMaxSpeed(String typeID){
    return new SumoCommand(Constants.CMD_GET_VEHICLETYPE_VARIABLE, Constants.VAR_MAXSPEED, typeID, Constants.RESPONSE_GET_VEHICLETYPE_VARIABLE, Constants.TYPE_DOUBLE);
  }
View Full Code Here

  /**
   * Returns the minimum headway gap of the named vehicle type.
   */

  public static SumoCommand getMinGap(String typeID){
    return new SumoCommand(Constants.CMD_GET_VEHICLETYPE_VARIABLE, Constants.VAR_MINGAP, typeID, Constants.RESPONSE_GET_VEHICLETYPE_VARIABLE, Constants.TYPE_DOUBLE);
  }
View Full Code Here

  /**
   * getShapeClass
   */

  public static SumoCommand getShapeClass(String typeID){
    return new SumoCommand(Constants.CMD_GET_VEHICLETYPE_VARIABLE, Constants.VAR_SHAPECLASS, typeID, Constants.RESPONSE_GET_VEHICLETYPE_VARIABLE, Constants.TYPE_STRING);
  }
View Full Code Here

  /**
   * Returns the speed deviation of the named vehicle type.
   */

  public static SumoCommand getSpeedDeviation(String typeID){
    return new SumoCommand(Constants.CMD_GET_VEHICLETYPE_VARIABLE, Constants.VAR_SPEED_DEVIATION, typeID, Constants.RESPONSE_GET_VEHICLETYPE_VARIABLE, Constants.TYPE_DOUBLE);
  }
View Full Code Here

  /**
   * Return the speed factor of the names vehicle type.
   */

  public static SumoCommand getSpeedFactor(String typeID){
    return new SumoCommand(Constants.CMD_GET_VEHICLETYPE_VARIABLE, Constants.VAR_SPEED_FACTOR, typeID, Constants.RESPONSE_GET_VEHICLETYPE_VARIABLE, Constants.TYPE_DOUBLE);
  }
View Full Code Here

  /**
   * getTau
   */

  public static SumoCommand getTau(String typeID){
    return new SumoCommand(Constants.CMD_GET_VEHICLETYPE_VARIABLE, Constants.VAR_TAU, typeID, Constants.RESPONSE_GET_VEHICLETYPE_VARIABLE, Constants.TYPE_DOUBLE);
  }
View Full Code Here

  /**
   * Returns the vehicle class of the names vehicle type.
   */

  public static SumoCommand getVehicleClass(String typeID){
    return new SumoCommand(Constants.CMD_GET_VEHICLETYPE_VARIABLE, Constants.VAR_VEHICLECLASS, typeID, Constants.RESPONSE_GET_VEHICLETYPE_VARIABLE, Constants.TYPE_STRING);
  }
View Full Code Here

TOP

Related Classes of de.tudresden.sumo.util.SumoCommand

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.