Package org.matsim.vehicles
Class VehicleType
- java.lang.Object
-
- org.matsim.vehicles.VehicleType
-
- All Implemented Interfaces:
Attributable
public final class VehicleType extends Object implements Attributable
- Author:
- dgrether
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
VehicleType.DoorOperationMode
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description double
getAccessTime()
Deprecated.please use {@see VehicleUtils} instead.Attributes
getAttributes()
VehicleCapacity
getCapacity()
CostInformation
getCostInformation()
String
getDescription()
VehicleType.DoorOperationMode
getDoorOperationMode()
Deprecated.please use {@see VehicleUtils} instead.double
getEgressTime()
Deprecated.please use {@see VehicleUtils} instead.EngineInformation
getEngineInformation()
double
getFlowEfficiencyFactor()
Id<VehicleType>
getId()
double
getLength()
double
getMaximumVelocity()
String
getNetworkMode()
double
getPcuEquivalents()
CostInformation
getVehicleCostInformation()
Deprecated.double
getWidth()
void
setAccessTime(double seconds)
Deprecated.please use {@see VehicleUtils} instead.VehicleType
setDescription(String desc)
void
setDoorOperationMode(VehicleType.DoorOperationMode mode)
Deprecated.please use {@see VehicleUtils} instead.void
setEgressTime(double seconds)
Deprecated.please use {@see VehicleUtils} instead.VehicleType
setFlowEfficiencyFactor(double flowEfficiencyFactor)
VehicleType
setLength(double length)
VehicleType
setMaximumVelocity(double meterPerSecond)
void
setNetworkMode(String networkMode)
VehicleType
setPcuEquivalents(double pcuEquivalents)
VehicleType
setWidth(double width)
-
-
-
Method Detail
-
getDescription
public final String getDescription()
-
getCapacity
public final VehicleCapacity getCapacity()
-
getId
public final Id<VehicleType> getId()
-
getPcuEquivalents
public final double getPcuEquivalents()
-
setPcuEquivalents
public final VehicleType setPcuEquivalents(double pcuEquivalents)
-
getFlowEfficiencyFactor
public final double getFlowEfficiencyFactor()
-
setFlowEfficiencyFactor
public final VehicleType setFlowEfficiencyFactor(double flowEfficiencyFactor)
-
getAttributes
public final Attributes getAttributes()
- Specified by:
getAttributes
in interfaceAttributable
-
setDescription
public final VehicleType setDescription(String desc)
-
setLength
public final VehicleType setLength(double length)
-
setMaximumVelocity
public final VehicleType setMaximumVelocity(double meterPerSecond)
-
setWidth
public final VehicleType setWidth(double width)
-
getWidth
public final double getWidth()
-
getMaximumVelocity
public final double getMaximumVelocity()
-
getLength
public final double getLength()
-
getEngineInformation
public final EngineInformation getEngineInformation()
-
getCostInformation
public final CostInformation getCostInformation()
-
getNetworkMode
public final String getNetworkMode()
-
setNetworkMode
public final void setNetworkMode(String networkMode)
-
getAccessTime
@Deprecated public final double getAccessTime()
Deprecated.please use {@see VehicleUtils} instead.
-
getEgressTime
@Deprecated public final double getEgressTime()
Deprecated.please use {@see VehicleUtils} instead.
-
setAccessTime
@Deprecated public final void setAccessTime(double seconds)
Deprecated.please use {@see VehicleUtils} instead.
-
setEgressTime
@Deprecated public final void setEgressTime(double seconds)
Deprecated.please use {@see VehicleUtils} instead.
-
getDoorOperationMode
@Deprecated public final VehicleType.DoorOperationMode getDoorOperationMode()
Deprecated.please use {@see VehicleUtils} instead.
-
setDoorOperationMode
@Deprecated public final void setDoorOperationMode(VehicleType.DoorOperationMode mode)
Deprecated.please use {@see VehicleUtils} instead.
-
getVehicleCostInformation
@Deprecated public final CostInformation getVehicleCostInformation()
Deprecated.
-
-