Package de.tudresden.sumo.cmd
Class Vehicletype
java.lang.Object
de.tudresden.sumo.cmd.Vehicletype
The Class Vehicletype.
- Author:
- Mario Krumnow, Evamarie Wiessner
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionstatic SumoCommandReturns the maximum acceleration of the named vehicle class.static SumoCommandgetApparentDecel(String typeID) Returns The preferred lateral alignment of the type.static SumoCommandReturns the vehicle type's color.static SumoCommandReturns the maximum deceleration of the names vehicle type.static SumoCommandgetEmergencyDecel(String typeID) Returns the maximal physically possible deceleration in m/s^2 of vehicles of this type.static SumoCommandgetEmissionClass(String typeID) Returns the emission class of the named vehicle type.static SumoCommandReturns the height in m of vehicles of this type.static SumoCommandReturns the number of all vehicle types in the network.static SumoCommandReturns a list of all known vehicle types.static SumoCommandgetImperfection(String typeID) getImperfection.static SumoCommandgetLateralAlignment(String typeID) Returns The preferred lateral alignment of the type.static SumoCommandReturns the length of the named vehicle type.static SumoCommandgetMaxSpeed(String typeID) Return the maximum speed of the named vehicle type.static SumoCommandgetMaxSpeedLat(String typeID) Returns the maximum lateral speed in m/s of this type.static SumoCommandReturns the minimum headway gap of the named vehicle type.static SumoCommandgetMinGapLat(String typeID) Returns The desired lateral gap of this type at 50km/h in m.static SumoCommandgetParameter(String typeID, String param) Returns the chosen parameter.static SumoCommandgetShapeClass(String typeID) getShapeClass.static SumoCommandgetSpeedDeviation(String typeID) Returns the speed deviation of the named vehicle type.static SumoCommandgetSpeedFactor(String typeID) Return the speed factor of the names vehicle type.static SumoCommandgetTau.static SumoCommandgetVehicleClass(String typeID) Returns the vehicle class of the names vehicle type.static SumoCommandReturns the width of the named vehicle type.static SumoCommandSets the vehicle type's wished maximum acceleration to the given value.static SumoCommandsetApparentDecel(String typeID, double decel) Sets the apparent deceleration in m/s^2 of vehicles of this type.static SumoCommandSets the vehicle type's color.static SumoCommandSets the vehicle type's wished maximum deceleration to the given value.static SumoCommandsetEmergencyDecel(String typeID, double decel) Sets the maximal physically possible deceleration in m/s^2 of vehicles of this type.static SumoCommandsetEmissionClass(String typeID, String clazz) Sets the vehicle type's emission class to the given value.static SumoCommandSets the height in m of vehicles of this type.static SumoCommandsetImperfection(String typeID, double imperfection) setImperfection.static SumoCommandsetLateralAlignment(String typeID, String latAlignment) Sets the preferred lateral alignment of this type.static SumoCommandSets the vehicle type's length to the given value.static SumoCommandsetMaxSpeed(String typeID, double speed) Sets the vehicle type's maximum speed to the given value.static SumoCommandsetMaxSpeedLat(String typeID, double speed) Sets the maximum lateral speed of this type.static SumoCommandSets the vehicle type's minimum headway gap to the given value.static SumoCommandsetMinGapLat(String typeID, double minGapLat) setImperfection.static SumoCommandsetParameter(String typeID, String param, String value) Sets the chosen parameter.static SumoCommandsetShapeClass(String typeID, String clazz) setShapeClass.static SumoCommandsetSpeedDeviation(String typeID, double deviation) Sets the vehicle type's speed deviation to the given value.static SumoCommandsetSpeedFactor(String typeID, double factor) Sets the vehicle type's speed factor to the given value.static SumoCommandsetTau.static SumoCommandsetVehicleClass(String typeID, String clazz) Sets the vehicle type's vehicle class to the given value.static SumoCommandSets the vehicle type's width to the given value.static SumoCommandDuplicates the vType with ID origTypeID.
- 
Constructor Details- 
Vehicletypepublic Vehicletype()
 
- 
- 
Method Details- 
getAccelReturns the maximum acceleration of the named vehicle class.- Parameters:
- typeID- type id
- Returns:
- acceleration
 
- 
getIDCountReturns the number of all vehicle types in the network.- Returns:
- number of vehicle types
 
- 
getColorReturns the vehicle type's color.- Parameters:
- typeID- type id
- Returns:
- color color
 
- 
getDecelReturns the maximum deceleration of the names vehicle type.- Parameters:
- typeID- type id
- Returns:
- deceleration
 
- 
getEmergencyDecelReturns the maximal physically possible deceleration in m/s^2 of vehicles of this type.- Parameters:
- typeID- type id
- Returns:
- deceleration
 
- 
getLateralAlignmentReturns The preferred lateral alignment of the type.- Parameters:
- typeID- type id
- Returns:
- deceleration
 
- 
getHeightReturns the height in m of vehicles of this type.- Parameters:
- typeID- type id
- Returns:
- deceleration
 
- 
getApparentDecelReturns The preferred lateral alignment of the type.- Parameters:
- typeID- type id
- Returns:
- deceleration
 
- 
getMinGapLatReturns The desired lateral gap of this type at 50km/h in m.- Parameters:
- typeID- type id
- Returns:
- deceleration
 
- 
getMaxSpeedLatReturns the maximum lateral speed in m/s of this type.- Parameters:
- typeID- type id
- Returns:
- deceleration
 
- 
getEmissionClassReturns the emission class of the named vehicle type.- Parameters:
- typeID- type id
- Returns:
- emission class
 
- 
getIDListReturns a list of all known vehicle types.- Returns:
- list of vechicle types
 
- 
getImperfectiongetImperfection.- Parameters:
- typeID- type id
- Returns:
- imperfection
 
- 
getLengthReturns the length of the named vehicle type.- Parameters:
- typeID- type id
- Returns:
- length
 
- 
getMaxSpeedReturn the maximum speed of the named vehicle type.- Parameters:
- typeID- type id
- Returns:
- max speed
 
- 
getMinGapReturns the minimum headway gap of the named vehicle type.- Parameters:
- typeID- type id
- Returns:
- min gap
 
- 
getParameterReturns the chosen parameter.- Parameters:
- typeID- a string identifying the vehicle type
- param- a string identifying the parameter
- Returns:
- the specific parameter
 
- 
setParameterSets the chosen parameter.- Parameters:
- typeID- the type ID
- param- a string identifying the parameter
- value- a string identifying the new value
- Returns:
- SumoCommand
 
- 
getShapeClassgetShapeClass.- Parameters:
- typeID- type id
- Returns:
- shape class
 
- 
getSpeedDeviationReturns the speed deviation of the named vehicle type.- Parameters:
- typeID- type id
- Returns:
- speed deviation
 
- 
getSpeedFactorReturn the speed factor of the names vehicle type.- Parameters:
- typeID- type id
- Returns:
- speed factor
 
- 
getTaugetTau.- Parameters:
- typeID- type id
- Returns:
- tau
 
- 
getVehicleClassReturns the vehicle class of the names vehicle type.- Parameters:
- typeID- type id
- Returns:
- vehicle class
 
- 
getWidthReturns the width of the named vehicle type.- Parameters:
- typeID- type id
- Returns:
- width
 
- 
setAccelSets the vehicle type's wished maximum acceleration to the given value.- Parameters:
- typeID- type id
- accel- acceleration
- Returns:
- SumoCommand
 
- 
setColorSets the vehicle type's color.- Parameters:
- typeID- type id
- color- color
- Returns:
- SumoCommand
 
- 
setDecelSets the vehicle type's wished maximum deceleration to the given value.- Parameters:
- typeID- type id
- decel- deceleration
- Returns:
- SumoCommand
 
- 
setEmissionClassSets the vehicle type's emission class to the given value.- Parameters:
- typeID- type id
- clazz- emission class
- Returns:
- SumoCommand
 
- 
setMinGapLatsetImperfection.- Parameters:
- typeID- type id
- minGapLat- minGapLat
- Returns:
- SumoCommand
 
- 
setMaxSpeedLatSets the maximum lateral speed of this type.- Parameters:
- typeID- type id
- speed- speed
- Returns:
- SumoCommand
 
- 
setApparentDecelSets the apparent deceleration in m/s^2 of vehicles of this type.- Parameters:
- typeID- type id
- decel- decel
- Returns:
- SumoCommand
 
- 
setImperfectionsetImperfection.- Parameters:
- typeID- type id
- imperfection- imperfection
- Returns:
- SumoCommand
 
- 
setLateralAlignmentSets the preferred lateral alignment of this type.- Parameters:
- typeID- type id
- latAlignment- latAlignment
- Returns:
- SumoCommand
 
- 
setHeightSets the height in m of vehicles of this type.- Parameters:
- typeID- type id
- height- height
- Returns:
- SumoCommand
 
- 
setEmergencyDecelSets the maximal physically possible deceleration in m/s^2 of vehicles of this type.- Parameters:
- typeID- type id
- decel- decel
- Returns:
- SumoCommand
 
- 
setLengthSets the vehicle type's length to the given value.- Parameters:
- typeID- type id
- length- length
- Returns:
- SumoCommand
 
- 
setMaxSpeedSets the vehicle type's maximum speed to the given value.- Parameters:
- typeID- type id
- speed- speed
- Returns:
- SumoCommand
 
- 
setMinGapSets the vehicle type's minimum headway gap to the given value.- Parameters:
- typeID- type id
- minGap- minimum gap
- Returns:
- SumoCommand
 
- 
setShapeClasssetShapeClass.- Parameters:
- typeID- type id
- clazz- shape class
- Returns:
- SumoCommand
 
- 
setSpeedDeviationSets the vehicle type's speed deviation to the given value.- Parameters:
- typeID- type id
- deviation- deviation
- Returns:
- SumoCommand
 
- 
setSpeedFactorSets the vehicle type's speed factor to the given value.- Parameters:
- typeID- type id
- factor- factor
- Returns:
- SumoCommand
 
- 
setTausetTau.- Parameters:
- typeID- type id
- tau- tau
- Returns:
- SumoCommand
 
- 
setVehicleClassSets the vehicle type's vehicle class to the given value.- Parameters:
- typeID- type id
- clazz- vehicle class
- Returns:
- SumoCommand
 
- 
setWidthSets the vehicle type's width to the given value.- Parameters:
- typeID- type id
- width- width
- Returns:
- SumoCommand
 
- 
setWidthDuplicates the vType with ID origTypeID. The newly created vType is assigned the ID newTypeID- Parameters:
- typeID- type id
- newTypeID- newTypeID
- Returns:
- SumoCommand
 
 
-