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)
typeID - type idpublic static SumoCommand getIDCount()
public static SumoCommand getColor(String typeID)
typeID - type idpublic static SumoCommand getDecel(String typeID)
typeID - type idpublic static SumoCommand getEmissionClass(String typeID)
typeID - type idpublic static SumoCommand getIDList()
public static SumoCommand getImperfection(String typeID)
typeID - type idpublic static SumoCommand getLength(String typeID)
typeID - type idpublic static SumoCommand getMaxSpeed(String typeID)
typeID - type idpublic static SumoCommand getMinGap(String typeID)
typeID - type idpublic static SumoCommand getShapeClass(String typeID)
typeID - type idpublic static SumoCommand getSpeedDeviation(String typeID)
typeID - type idpublic static SumoCommand getSpeedFactor(String typeID)
typeID - type idpublic static SumoCommand getTau(String typeID)
typeID - type idpublic static SumoCommand getVehicleClass(String typeID)
typeID - type idpublic static SumoCommand getWidth(String typeID)
typeID - type idpublic static SumoCommand setAccel(String typeID, double accel)
typeID - type idaccel - accelerationpublic static SumoCommand setColor(String typeID, SumoColor color)
typeID - type idcolor - colorpublic static SumoCommand setDecel(String typeID, double decel)
typeID - type iddecel - decelerationpublic static SumoCommand setEmissionClass(String typeID, String clazz)
typeID - type idclazz - emission classpublic static SumoCommand setImperfection(String typeID, double imperfection)
typeID - type idimperfection - imperfectionpublic static SumoCommand setLength(String typeID, double length)
typeID - type idlength - lengthpublic static SumoCommand setMaxSpeed(String typeID, double speed)
typeID - type idspeed - speedpublic static SumoCommand setMinGap(String typeID, double minGap)
typeID - type idminGap - minimum gappublic static SumoCommand setShapeClass(String typeID, String clazz)
typeID - type idclazz - shape classpublic static SumoCommand setSpeedDeviation(String typeID, double deviation)
typeID - type iddeviation - deviationpublic static SumoCommand setSpeedFactor(String typeID, double factor)
typeID - type idfactor - factorpublic static SumoCommand setTau(String typeID, double tau)
typeID - type idtau - taupublic static SumoCommand setVehicleClass(String typeID, String clazz)
typeID - type idclazz - vehicle classpublic static SumoCommand setWidth(String typeID, double width)
typeID - type idwidth - width