public class Vehicletype
extends Object
| Constructor and Description |
|---|
Vehicletype() |
| Modifier and Type | Method and Description |
|---|---|
static SumoCommand |
getAccel(String typeID)
Returns the maximum acceleration of the named vehicle class.
|
static SumoCommand |
getColor(String typeID)
Returns the vehicle type's color.
|
static SumoCommand |
getDecel(String typeID)
Returns the maximum deceleration of the names vehicle type.
|
static SumoCommand |
getEmissionClass(String typeID)
Returns the emission class of the named vehicle type.
|
static SumoCommand |
getIDCount()
Returns the number of all vehicle types in the network.
|
static SumoCommand |
getIDList()
Returns a list of all known vehicle types.
|
static SumoCommand |
getImperfection(String typeID)
getImperfection
|
static SumoCommand |
getLength(String typeID)
Returns the length of the named vehicle type.
|
static SumoCommand |
getMaxSpeed(String typeID)
Return the maximum speed of the named vehicle type.
|
static SumoCommand |
getMinGap(String typeID)
Returns the minimum headway gap of the named vehicle type.
|
static SumoCommand |
getShapeClass(String typeID)
getShapeClass
|
static SumoCommand |
getSpeedDeviation(String typeID)
Returns the speed deviation of the named vehicle type.
|
static SumoCommand |
getSpeedFactor(String typeID)
Return the speed factor of the names vehicle type.
|
static SumoCommand |
getTau(String typeID)
getTau
|
static SumoCommand |
getVehicleClass(String typeID)
Returns the vehicle class of the names vehicle type.
|
static SumoCommand |
getWidth(String typeID)
Returns the width of the named vehicle type.
|
static SumoCommand |
setAccel(String typeID,
double accel)
Sets the vehicle type's wished maximum acceleration to the given value.
|
static SumoCommand |
setColor(String typeID,
SumoColor color)
Sets the vehicle type's color.
|
static SumoCommand |
setDecel(String typeID,
double decel)
Sets the vehicle type's wished maximum deceleration to the given value.
|
static SumoCommand |
setEmissionClass(String typeID,
String clazz)
Sets the vehicle type's emission class to the given value.
|
static SumoCommand |
setImperfection(String typeID,
double imperfection)
setImperfection
|
static SumoCommand |
setLength(String typeID,
double length)
Sets the vehicle type's length to the given value.
|
static SumoCommand |
setMaxSpeed(String typeID,
double speed)
Sets the vehicle type's maximum speed to the given value.
|
static SumoCommand |
setMinGap(String typeID,
double minGap)
Sets the vehicle type's minimum headway gap to the given value.
|
static SumoCommand |
setShapeClass(String typeID,
String clazz)
setShapeClass
|
static SumoCommand |
setSpeedDeviation(String typeID,
double deviation)
Sets the vehicle type's speed deviation to the given value.
|
static SumoCommand |
setSpeedFactor(String typeID,
double factor)
Sets the vehicle type's speed factor to the given value.
|
static SumoCommand |
setTau(String typeID,
double tau)
setTau
|
static SumoCommand |
setVehicleClass(String typeID,
String clazz)
Sets the vehicle type's vehicle class to the given value.
|
static SumoCommand |
setWidth(String typeID,
double width)
Sets the vehicle type's width to the given value.
|
public static SumoCommand getAccel(String typeID)
public static SumoCommand getIDCount()
public static SumoCommand getColor(String typeID)
public static SumoCommand getDecel(String typeID)
public static SumoCommand getEmissionClass(String typeID)
public static SumoCommand getIDList()
public static SumoCommand getImperfection(String typeID)
public static SumoCommand getLength(String typeID)
public static SumoCommand getMaxSpeed(String typeID)
public static SumoCommand getMinGap(String typeID)
public static SumoCommand getShapeClass(String typeID)
public static SumoCommand getSpeedDeviation(String typeID)
public static SumoCommand getSpeedFactor(String typeID)
public static SumoCommand getTau(String typeID)
public static SumoCommand getVehicleClass(String typeID)
public static SumoCommand getWidth(String typeID)
public static SumoCommand setAccel(String typeID, double accel)
public static SumoCommand setColor(String typeID, SumoColor color)
public static SumoCommand setDecel(String typeID, double decel)
public static SumoCommand setEmissionClass(String typeID, String clazz)
public static SumoCommand setImperfection(String typeID, double imperfection)
public static SumoCommand setLength(String typeID, double length)
public static SumoCommand setMaxSpeed(String typeID, double speed)
public static SumoCommand setMinGap(String typeID, double minGap)
public static SumoCommand setShapeClass(String typeID, String clazz)
public static SumoCommand setSpeedDeviation(String typeID, double deviation)
public static SumoCommand setSpeedFactor(String typeID, double factor)
public static SumoCommand setTau(String typeID, double tau)
public static SumoCommand setVehicleClass(String typeID, String clazz)
public static SumoCommand setWidth(String typeID, double width)