20 package org.matsim.vehicles;
29 import java.util.Objects;
99 this.description = desc;
107 this.maxVelocity = meterPerSecond;
134 return networkMode != null;
138 return Objects.requireNonNull(networkMode, () ->
"Network mode not set for vehicle type %s. Network mode needs to be set explicitly for non car modes. You can do this in XML by adding \t<networkMode networkMode=\"%s\"/>\n".formatted(
id,
id));
final EngineInformation getEngineInformation()
static void setDoorOperationMode(VehicleType vehicleType, VehicleType.DoorOperationMode mode)
final VehicleType setDescription(String desc)
final String getDescription()
final void setAccessTime(double seconds)
final double getMaximumVelocity()
static void setEgressTime(VehicleType vehicleType, double egressTime)
final double getFlowEfficiencyFactor()
final VehicleType setLength(double length)
final VehicleType setWidth(double width)
double flowEfficiencyFactor
final double getPcuEquivalents()
final DoorOperationMode getDoorOperationMode()
static double getAccessTime(VehicleType vehicleType)
final CostInformation costInformation
final double getEgressTime()
final VehicleCapacity getCapacity()
static double getEgressTime(VehicleType vehicleType)
final void setDoorOperationMode(DoorOperationMode mode)
final CostInformation getVehicleCostInformation()
final String getNetworkMode()
final VehicleType setPcuEquivalents(double pcuEquivalents)
final VehicleCapacity capacity
static void setAccessTime(VehicleType vehicleType, double accessTime)
final void setEgressTime(double seconds)
final CostInformation getCostInformation()
final Attributes getAttributes()
final VehicleType setMaximumVelocity(double meterPerSecond)
final Id< VehicleType > getId()
static VehicleType.DoorOperationMode getDoorOperationMode(VehicleType vehicleType)
boolean equals(Object obj)
final VehicleType setFlowEfficiencyFactor(double flowEfficiencyFactor)
final EngineInformation engineInformation
final boolean hasNetworkMode()
final VehicleType setNetworkMode(String networkMode)
final Attributes attributes
final double getAccessTime()