MATSIM
Static Public Member Functions | Static Private Attributes | List of all members
org.matsim.vehicles.VehicleUtils Class Reference

Static Public Member Functions

static VehicleType createVehicleType (Id< VehicleType > typeId)
 
static VehicleType createVehicleType (Id< VehicleType > typeId, String networkMode)
 
static VehiclesFactory getFactory ()
 
static Vehicles createVehiclesContainer ()
 
static VehicleType createDefaultVehicleType ()
 
static Id< VehiclecreateVehicleId (Person person, String mode)
 
static void copyFromTo (VehicleType in, VehicleType out)
 
static boolean hasVehicleId (Person person, String mode)
 
static Map< String, Id< Vehicle > > getVehicleIds (Person person)
 
static Map< String, Id< VehicleType > > getVehicleTypes (Person person)
 
static Id< VehiclegetVehicleId (Person person, String mode)
 
static void insertVehicleIdsIntoAttributes (Person person, Map< String, Id< Vehicle >> modeToVehicle)
 
static void insertVehicleIdsIntoPersonAttributes (Person person, Map< String, Id< Vehicle >> modeToVehicle)
 
static void insertVehicleTypesIntoAttributes (Person person, Map< String, Id< VehicleType >> modeToVehicleType)
 
static void insertVehicleTypesIntoPersonAttributes (Person person, Map< String, Id< VehicleType >> modeToVehicleType)
 
static VehicleType.DoorOperationMode getDoorOperationMode (VehicleType vehicleType)
 
static void setDoorOperationMode (VehicleType vehicleType, VehicleType.DoorOperationMode mode)
 
static double getEgressTime (VehicleType vehicleType)
 
static void setEgressTime (VehicleType vehicleType, double egressTime)
 
static double getAccessTime (VehicleType vehicleType)
 
static void setAccessTime (VehicleType vehicleType, double accessTime)
 
static Double getFuelConsumption (VehicleType vehicleType)
 
static void setFuelConsumption (VehicleType vehicleType, double literPerMeter)
 
static String getHbefaTechnology (EngineInformation ei)
 
static void setHbefaTechnology (EngineInformation engineInformation, String hbefaTechnology)
 
static String getHbefaVehicleCategory (EngineInformation ei)
 
static void setHbefaVehicleCategory (EngineInformation engineInformation, String hbefaVehicleCategory)
 
static String getHbefaSizeClass (EngineInformation ei)
 
static void setHbefaSizeClass (EngineInformation engineInformation, String hbefaSizeClass)
 
static String getHbefaEmissionsConcept (EngineInformation ei)
 
static void setHbefaEmissionsConcept (EngineInformation engineInformation, String emissionsConcept)
 
static Double getEnergyConsumptionKWhPerMeter (EngineInformation engineInformation)
 
static void setEnergyConsumptionKWhPerMeter (EngineInformation engineInformation, double energyConsumptionKWhPerMeter)
 
static Double getFuelConsumptionLitersPerMeter (EngineInformation engineInformation)
 
static void setFuelConsumptionLitersPerMeter (EngineInformation engineInformation, double fuelConsumptionLitersPerMeter)
 
static Double getEnergyCapacity (EngineInformation engineInformation)
 
static void setEnergyCapacity (EngineInformation engineInformation, double energyCapacityInKWhOrLiters)
 
static Double getCostsPerSecondWaiting (CostInformation costInformation)
 
static void setCostsPerSecondWaiting (CostInformation costInformation, double costsPerSecond)
 
static Double getCostsPerSecondInService (CostInformation costInformation)
 
static void setCostsPerSecondInService (CostInformation costInformation, double costsPerSecond)
 
static Vehicle createVehicle (Id< Vehicle > id, VehicleType type)
 
static Vehicles getOrCreateAllvehicles (Scenario scenario)
 
static Vehicle findVehicle (Id< Vehicle > vehicleId, Scenario scenario)
 
static void writeVehicles (Vehicles vehicles, String filename)
 
static Id< LinkgetInitialLinkId (Vehicle vehicle)
 
static void setInitialLinkId (Vehicle vehicle, Id< Link > initialLinkId)
 

Static Private Attributes

static final Logger log = LogManager.getLogger( VehicleUtils.class )
 
static final String DEFAULT_VEHICLE_TYPE_ID = "defaultVehicleType"
 
static final String VEHICLE_ATTRIBUTE_KEY = "vehicles"
 
static final String VEHICLE_TYPES_ATTRIBUTE_KEY = "vehicleTypes"
 
static final String DOOR_OPERATION_MODE = "doorOperationMode"
 
static final String EGRESSTIME = "egressTimeInSecondsPerPerson"
 
static final String ACCESSTIME = "accessTimeInSecondsPerPerson"
 
static final String FUELCONSUMPTION = "fuelConsumptionLitersPerMeter"
 
static final String ENERGYCONSUMPTION = "energyConsumptionKWhPerMeter"
 
static final String ENERGYCAPACITY = "energyCapacityInKWhOrLiters"
 
static final String HBEFA_VEHICLE_CATEGORY_ = "HbefaVehicleCategory"
 
static final String HBEFA_TECHNOLOGY = "HbefaTechnology"
 
static final String HBEFA_SIZE_CLASS = "HbefaSizeClass"
 
static final String HBEFA_EMISSIONS_CONCEPT = "HbefaEmissionsConcept"
 
static final String COST_PER_SECOND_WAITING = "costsPerSecondWaiting"
 
static final String COST_PER_SECOND_INSERVICE = "costsPerSecondInService"
 
static final String FUEL_TYPE = "fuelType"
 
static final String INITIAL_LINK_ID = "initialLinkId"
 
static int tryStdCnt = 5
 
static int tryTrnCnt = 5
 

Detailed Description

Author
nagel

Definition at line 41 of file VehicleUtils.java.

Member Function Documentation

◆ createVehicleType() [1/2]

static VehicleType org.matsim.vehicles.VehicleUtils.createVehicleType ( Id< VehicleType typeId)
static

Definition at line 64 of file VehicleUtils.java.

64  {
65  return new VehicleType( typeId );
66  }

◆ createVehicleType() [2/2]

static VehicleType org.matsim.vehicles.VehicleUtils.createVehicleType ( Id< VehicleType typeId,
String  networkMode 
)
static

Definition at line 68 of file VehicleUtils.java.

68  {
69  return new VehicleType( typeId, networkMode );
70  }

◆ getFactory()

static VehiclesFactory org.matsim.vehicles.VehicleUtils.getFactory ( )
static

Definition at line 72 of file VehicleUtils.java.

Referenced by org.matsim.vehicles.VehicleUtils.createDefaultVehicleType().

72  {
73  return new VehiclesFactoryImpl();
74  }

◆ createVehiclesContainer()

static Vehicles org.matsim.vehicles.VehicleUtils.createVehiclesContainer ( )
static

Definition at line 76 of file VehicleUtils.java.

76  {
77  return new VehiclesImpl();
78  }

◆ createDefaultVehicleType()

static VehicleType org.matsim.vehicles.VehicleUtils.createDefaultVehicleType ( )
static

Definition at line 80 of file VehicleUtils.java.

References org.matsim.api.core.v01.TransportMode.car, org.matsim.api.core.v01.Id< T >.create(), org.matsim.vehicles.VehiclesFactory.createVehicleType(), org.matsim.vehicles.VehicleType.getCapacity(), org.matsim.vehicles.VehicleUtils.getFactory(), org.matsim.vehicles.VehicleType.setNetworkMode(), and org.matsim.vehicles.VehicleCapacity.setSeats().

Referenced by org.matsim.core.controler.PrepareForSimImpl.getVehicleTypesForAllNetworkAndMainModes().

80  {
81  VehicleType defaultVehicleType = VehicleUtils.getFactory()
82  .createVehicleType(Id.create(DEFAULT_VEHICLE_TYPE_ID, VehicleType.class));
83 
84  defaultVehicleType.getCapacity().setSeats(4);
85  defaultVehicleType.setNetworkMode(TransportMode.car);
86  return defaultVehicleType;
87  }
static final String DEFAULT_VEHICLE_TYPE_ID
Here is the call graph for this function:

◆ createVehicleId()

static Id<Vehicle> org.matsim.vehicles.VehicleUtils.createVehicleId ( Person  person,
String  mode 
)
static

Creates a vehicle id based on the person and the mode

If config.qsim().getVehicleSource() is "modeVehicleTypesFromVehiclesData", the returned id is a combination of the person's id and the supplied mode. E.g. "person1_car

Parameters
personThe person which owns the vehicle
modeThe mode this vehicle is for
Returns
a VehicleId

Definition at line 99 of file VehicleUtils.java.

References org.matsim.api.core.v01.Id< T >.createVehicleId().

Referenced by org.matsim.core.controler.PrepareForSimImpl.createVehicleId().

99  {
100  return Id.createVehicleId(person.getId().toString() + "_" + mode);
101  }
Here is the call graph for this function:

◆ copyFromTo()

static void org.matsim.vehicles.VehicleUtils.copyFromTo ( VehicleType  in,
VehicleType  out 
)
static

Definition at line 103 of file VehicleUtils.java.

References org.matsim.utils.objectattributes.attributable.AttributesUtils.copyAttributesFromTo(), org.matsim.vehicles.VehicleType.getCapacity(), org.matsim.vehicles.VehicleType.getCostInformation(), org.matsim.vehicles.CostInformation.getCostsPerMeter(), org.matsim.vehicles.CostInformation.getCostsPerSecond(), org.matsim.vehicles.VehicleType.getDescription(), org.matsim.vehicles.VehicleType.getEngineInformation(), org.matsim.vehicles.CostInformation.getFixedCosts(), org.matsim.vehicles.VehicleType.getFlowEfficiencyFactor(), org.matsim.vehicles.VehicleType.getLength(), org.matsim.vehicles.VehicleType.getMaximumVelocity(), org.matsim.vehicles.VehicleType.getNetworkMode(), org.matsim.vehicles.VehicleType.getPcuEquivalents(), org.matsim.vehicles.VehicleCapacity.getSeats(), org.matsim.vehicles.VehicleCapacity.getStandingRoom(), org.matsim.vehicles.VehicleCapacity.getVolumeInCubicMeters(), org.matsim.vehicles.VehicleCapacity.getWeightInTons(), org.matsim.vehicles.CostInformation.setCostsPerSecond(), org.matsim.vehicles.VehicleType.setDescription(), org.matsim.vehicles.VehicleType.setFlowEfficiencyFactor(), org.matsim.vehicles.VehicleType.setLength(), org.matsim.vehicles.VehicleType.setMaximumVelocity(), org.matsim.vehicles.VehicleType.setNetworkMode(), org.matsim.vehicles.VehicleType.setPcuEquivalents(), org.matsim.vehicles.VehicleCapacity.setWeightInTons(), and org.matsim.vehicles.VehicleType.setWidth().

103  {
104  out.setMaximumVelocity(in.getMaximumVelocity());
105  out.setDescription(in.getDescription());
106  out.setPcuEquivalents(in.getPcuEquivalents());
107  out.setLength(in.getLength());
108  out.setWidth(in.getLength());
109  out.setFlowEfficiencyFactor(in.getFlowEfficiencyFactor());
110  out.setNetworkMode(in.getNetworkMode());
111  // (all the deprecated setters are copied via the attributes!)
112  AttributesUtils.copyAttributesFromTo(in, out);
113 
114  CostInformation cost = in.getCostInformation();
115  out.getCostInformation().setCostsPerSecond(cost.getCostsPerSecond()).setCostsPerMeter(cost.getCostsPerMeter()).setFixedCost(cost.getFixedCosts());
116  AttributesUtils.copyAttributesFromTo(cost, out.getCostInformation());
117 
118  VehicleCapacity cap = in.getCapacity();
119  out.getCapacity().setWeightInTons(cap.getWeightInTons()).setSeats(cap.getSeats()).setSeats(cap.getStandingRoom()).setVolumeInCubicMeters(cap.getVolumeInCubicMeters());
120  AttributesUtils.copyAttributesFromTo(cap, out.getCapacity());
121 
122  AttributesUtils.copyAttributesFromTo(in.getEngineInformation(), out.getEngineInformation());
123 
124  }
Here is the call graph for this function:

◆ hasVehicleId()

static boolean org.matsim.vehicles.VehicleUtils.hasVehicleId ( Person  person,
String  mode 
)
static

Checks whether a person has a vehicle id for mode - without throwing an exception if not.

Parameters
personthe person one wants to check for a vehicle id
modethe mode for the vehicle id to check
Returns
whether person has a vehicle id for that mode
See also
VehicleUtils#getVehicleId(Person, String)

Definition at line 136 of file VehicleUtils.java.

References org.matsim.utils.objectattributes.attributable.Attributes.getAttribute(), org.matsim.utils.objectattributes.attributable.Attributable.getAttributes(), org.matsim.vehicles.PersonVehicles.getVehicle(), and org.matsim.vehicles.VehicleUtils.VEHICLE_ATTRIBUTE_KEY.

136  {
137  PersonVehicles personVehicles = (PersonVehicles) person.getAttributes().getAttribute(VehicleUtils.VEHICLE_ATTRIBUTE_KEY);
138  return personVehicles != null && personVehicles.getVehicle(mode) != null;
139  }
Here is the call graph for this function:

◆ getVehicleIds()

static Map<String, Id<Vehicle> > org.matsim.vehicles.VehicleUtils.getVehicleIds ( Person  person)
static

Retrieves vehicleIds of all vehicles that are assigned to the person.

Parameters
personthe person one wants to retrieve vehicles for
Returns
vehicle ids mapped to the mode the respective vehicle may be used for
Exceptions
RuntimeExceptionIn case no vehicleIds were set

Definition at line 148 of file VehicleUtils.java.

References org.matsim.utils.objectattributes.attributable.Attributes.getAttribute(), org.matsim.utils.objectattributes.attributable.Attributable.getAttributes(), and org.matsim.vehicles.VehicleUtils.VEHICLE_ATTRIBUTE_KEY.

Referenced by org.matsim.vehicles.VehicleUtils.getVehicleId().

148  {
149  var personVehicles = (PersonVehicles) person.getAttributes().getAttribute(VehicleUtils.VEHICLE_ATTRIBUTE_KEY);
150  if (personVehicles == null) {
151  throw new RuntimeException("Could not retrieve vehicle id from person: " + person.getId().toString() +
152  ". \nIf you are not using config.qsim().getVehicleSource() with 'defaultVehicle' or 'modeVehicleTypesFromVehiclesData' you have to provide " +
153  "a vehicle for each mode for each person. Attach a PersonVehicles instance (containing a map of mode:String -> id:Id<Vehicle>) with key 'vehicles' as person attribute to each person." +
154  "\n VehicleUtils.insertVehicleIdIntoAttributes does this for you.");
155  }
156  return personVehicles.getModeVehicles();
157  }
Here is the call graph for this function:

◆ getVehicleTypes()

static Map<String, Id<VehicleType> > org.matsim.vehicles.VehicleUtils.getVehicleTypes ( Person  person)
static

Retrieve the optional vehicle types per mode that might be assigned to a person. Returns null if this is not defined.

Definition at line 163 of file VehicleUtils.java.

References org.matsim.utils.objectattributes.attributable.Attributes.getAttribute(), org.matsim.utils.objectattributes.attributable.Attributable.getAttributes(), and org.matsim.vehicles.VehicleUtils.VEHICLE_TYPES_ATTRIBUTE_KEY.

Referenced by org.matsim.core.controler.PrepareForSimImpl.createAndAddVehiclesForEveryNetworkMode().

163  {
164  var personVehicles = (PersonVehicleTypes) person.getAttributes().getAttribute(VehicleUtils.VEHICLE_TYPES_ATTRIBUTE_KEY);
165  return personVehicles != null ? personVehicles.getModeVehicleTypes() : null;
166  }
Here is the call graph for this function:

◆ getVehicleId()

static Id<Vehicle> org.matsim.vehicles.VehicleUtils.getVehicleId ( Person  person,
String  mode 
)
static

Retrieves a vehicleId from the person's attributes.

Returns
the vehicleId of the person's vehicle for the specified mode
Exceptions
RuntimeExceptionIn case no vehicleIds were set or in case no vehicleId was set for the specified mode

Definition at line 174 of file VehicleUtils.java.

References org.matsim.vehicles.VehicleUtils.getVehicleIds().

Referenced by org.matsim.core.mobsim.qsim.agents.PopulationAgentSource.insertVehicles(), and org.matsim.core.router.NetworkRoutingInclAccessEgressModule.toString().

174  {
175  Map<String, Id<Vehicle>> vehicleIds = getVehicleIds(person);
176  if (!vehicleIds.containsKey(mode)) {
177  throw new RuntimeException("Could not retrieve vehicle id from person: " + person.getId().toString() + " for mode: " + mode +
178  ". \nIf you are not using config.qsim().getVehicleSource() with 'defaultVehicle' or 'modeVehicleTypesFromVehiclesData' you have to provide " +
179  "a vehicle for each mode for each person. Attach a PersonVehicles instance (containing a map of mode:String -> id:Id<Vehicle>) with key 'vehicles' as person attribute to each person." +
180  "\n VehicleUtils.insertVehicleIdIntoAttributes does this for you."
181  );
182  }
183  return vehicleIds.get(mode);
184  }
static Map< String, Id< Vehicle > > getVehicleIds(Person person)
Here is the call graph for this function:

◆ insertVehicleIdsIntoAttributes()

static void org.matsim.vehicles.VehicleUtils.insertVehicleIdsIntoAttributes ( Person  person,
Map< String, Id< Vehicle >>  modeToVehicle 
)
static

Attaches vehicle ids to a person, so that the router knows which vehicle to use for which mode and person.

Parameters
modeToVehiclemode string mapped to vehicle ids. The provided map is copied and stored as unmodifiable map. If a mode key already exists in the persons's attributes it is overridden. Otherwise, existing and provided values are merged into one map We use PersonVehicle Class in order to have a dedicated PersonVehicleAttributeConverter to/from XML
Deprecated:
inline to more expressive method

Definition at line 197 of file VehicleUtils.java.

References org.matsim.vehicles.VehicleUtils.insertVehicleIdsIntoPersonAttributes().

Referenced by org.matsim.core.controler.PrepareForSimImpl.createAndAddVehiclesForEveryNetworkMode().

197  {
198  insertVehicleIdsIntoPersonAttributes( person, modeToVehicle );
199  }
static void insertVehicleIdsIntoPersonAttributes(Person person, Map< String, Id< Vehicle >> modeToVehicle)
Here is the call graph for this function:

◆ insertVehicleIdsIntoPersonAttributes()

static void org.matsim.vehicles.VehicleUtils.insertVehicleIdsIntoPersonAttributes ( Person  person,
Map< String, Id< Vehicle >>  modeToVehicle 
)
static

Attaches vehicle ids to a person, so that the router knows which vehicle to use for which mode and person.

Parameters
modeToVehiclemode string mapped to vehicle ids. The provided map is copied and stored as unmodifiable map. If a mode key already exists in the persons's attributes it is overridden. Otherwise, existing and provided values are merged into one map We use PersonVehicle Class in order to have a dedicated PersonVehicleAttributeConverter to/from XML

Definition at line 208 of file VehicleUtils.java.

References org.matsim.utils.objectattributes.attributable.Attributes.getAttribute(), org.matsim.utils.objectattributes.attributable.Attributable.getAttributes(), and org.matsim.utils.objectattributes.attributable.Attributes.putAttribute().

Referenced by org.matsim.vehicles.VehicleUtils.insertVehicleIdsIntoAttributes(), org.matsim.core.population.PersonUtils.insertVehicleIdsIntoPersonAttributes(), and org.matsim.core.population.PopulationUtils.insertVehicleIdsIntoPersonAttributes().

208  {
209  Object attr = person.getAttributes().getAttribute(VEHICLE_ATTRIBUTE_KEY);
210  // copy in case it's a UnmodifiableMap
211  Map<String, Id<Vehicle>> modeToVehicleCopy = new HashMap<>(modeToVehicle);
212  PersonVehicles personVehicles;
213  if (attr == null) {
214  personVehicles = new PersonVehicles();
215  } else {
216  personVehicles = (PersonVehicles) attr;
217  }
218  personVehicles.addModeVehicleList(modeToVehicleCopy);
219  person.getAttributes().putAttribute(VEHICLE_ATTRIBUTE_KEY, personVehicles);
220  }
static final String VEHICLE_ATTRIBUTE_KEY
Here is the call graph for this function:

◆ insertVehicleTypesIntoAttributes()

static void org.matsim.vehicles.VehicleUtils.insertVehicleTypesIntoAttributes ( Person  person,
Map< String, Id< VehicleType >>  modeToVehicleType 
)
static

Attaches vehicle types to a person, so that the router knows which vehicle to use for which mode and person.

Parameters
modeToVehicleTypemode string mapped to vehicle type ids. The provided map is copied and stored as unmodifiable map.
Deprecated:
please inline to more expressive method name

Definition at line 228 of file VehicleUtils.java.

References org.matsim.vehicles.VehicleUtils.insertVehicleTypesIntoPersonAttributes().

228  {
229  insertVehicleTypesIntoPersonAttributes( person, modeToVehicleType );
230  }
static void insertVehicleTypesIntoPersonAttributes(Person person, Map< String, Id< VehicleType >> modeToVehicleType)
Here is the call graph for this function:

◆ insertVehicleTypesIntoPersonAttributes()

static void org.matsim.vehicles.VehicleUtils.insertVehicleTypesIntoPersonAttributes ( Person  person,
Map< String, Id< VehicleType >>  modeToVehicleType 
)
static

Attaches vehicle types to a person, so that the router knows which vehicle to use for which mode and person.

Parameters
modeToVehicleTypemode string mapped to vehicle type ids. The provided map is copied and stored as unmodifiable map.

Definition at line 235 of file VehicleUtils.java.

References org.matsim.utils.objectattributes.attributable.Attributes.getAttribute(), org.matsim.utils.objectattributes.attributable.Attributable.getAttributes(), and org.matsim.utils.objectattributes.attributable.Attributes.putAttribute().

Referenced by org.matsim.vehicles.VehicleUtils.insertVehicleTypesIntoAttributes(), org.matsim.core.population.PersonUtils.insertVehicleTypesIntoPersonAttributes(), and org.matsim.core.population.PopulationUtils.insertVehicleTypesIntoPersonAttributes().

235  {
236  Object attr = person.getAttributes().getAttribute(VEHICLE_TYPES_ATTRIBUTE_KEY);
237 
238  Map<String, Id<VehicleType>> modeToTypesCopy = new HashMap<>(modeToVehicleType);
239  PersonVehicleTypes personVehiclesTypes;
240  if (attr == null) {
241  personVehiclesTypes = new PersonVehicleTypes();
242  } else {
243  personVehiclesTypes = (PersonVehicleTypes) attr;
244  }
245  personVehiclesTypes.putModeVehicleTypes(modeToTypesCopy);
246  person.getAttributes().putAttribute(VEHICLE_TYPES_ATTRIBUTE_KEY, personVehiclesTypes);
247  }
static final String VEHICLE_TYPES_ATTRIBUTE_KEY
Here is the call graph for this function:

◆ getDoorOperationMode()

static VehicleType.DoorOperationMode org.matsim.vehicles.VehicleUtils.getDoorOperationMode ( VehicleType  vehicleType)
static

Definition at line 251 of file VehicleUtils.java.

References org.matsim.utils.objectattributes.attributable.Attributes.getAttribute(), org.matsim.vehicles.VehicleType.getAttributes(), org.matsim.vehicles.VehicleType.getId(), org.matsim.vehicles.VehicleType.DoorOperationMode.parallel, and org.matsim.vehicles.VehicleType.DoorOperationMode.serial.

Referenced by org.matsim.vehicles.VehicleType.getDoorOperationMode(), and org.matsim.vehicles.VehicleWriterV1.writeVehicleTypes().

251  {
252  final Object attribute = vehicleType.getAttributes().getAttribute( DOOR_OPERATION_MODE );
253  if ( attribute==null ) {
254  return VehicleType.DoorOperationMode.serial; // this was the default value in V1; could also return null instead.
255  } else if (attribute instanceof VehicleType.DoorOperationMode ){
256  return (VehicleType.DoorOperationMode) attribute;
257  } else if (attribute instanceof String) {
258  String modeString = (String) attribute;
259  if ( VehicleType.DoorOperationMode.serial.toString().equalsIgnoreCase(modeString )) {
260  return VehicleType.DoorOperationMode.serial;
261  } else if ( VehicleType.DoorOperationMode.parallel.toString().equalsIgnoreCase(modeString )) {
262  return VehicleType.DoorOperationMode.parallel;
263  } else {
264  throw new IllegalArgumentException("VehicleType " + vehicleType.getId().toString() + " : Door operation mode " + modeString + "is not supported");
265  }
266  }
267  else {
268  throw new RuntimeException("Type of " + attribute + "is not supported here");
269  }
270  }
static final String DOOR_OPERATION_MODE
Here is the call graph for this function:

◆ setDoorOperationMode()

static void org.matsim.vehicles.VehicleUtils.setDoorOperationMode ( VehicleType  vehicleType,
VehicleType.DoorOperationMode  mode 
)
static

Definition at line 272 of file VehicleUtils.java.

References org.matsim.vehicles.VehicleType.getAttributes(), and org.matsim.utils.objectattributes.attributable.Attributes.putAttribute().

Referenced by org.matsim.vehicles.VehicleType.setDoorOperationMode().

272  {
273  vehicleType.getAttributes().putAttribute( DOOR_OPERATION_MODE, mode ) ;
274  }
static final String DOOR_OPERATION_MODE
Here is the call graph for this function:

◆ getEgressTime()

static double org.matsim.vehicles.VehicleUtils.getEgressTime ( VehicleType  vehicleType)
static

Definition at line 276 of file VehicleUtils.java.

References org.matsim.utils.objectattributes.attributable.Attributes.getAttribute(), and org.matsim.vehicles.VehicleType.getAttributes().

Referenced by org.matsim.vehicles.VehicleType.getEgressTime(), and org.matsim.vehicles.VehicleWriterV1.writeVehicleTypes().

276  {
277  final Object attribute = vehicleType.getAttributes().getAttribute( EGRESSTIME );
278  if ( attribute==null ) {
279  return 1.0 ; // this was the default value in V1; could also return Double-null instead.
280  } else {
281  return (double) attribute;
282  }
283  }
static final String EGRESSTIME
Here is the call graph for this function:

◆ setEgressTime()

static void org.matsim.vehicles.VehicleUtils.setEgressTime ( VehicleType  vehicleType,
double  egressTime 
)
static

Definition at line 285 of file VehicleUtils.java.

References org.matsim.vehicles.VehicleType.getAttributes(), and org.matsim.utils.objectattributes.attributable.Attributes.putAttribute().

Referenced by org.matsim.vehicles.VehicleType.setEgressTime().

285  {
286  vehicleType.getAttributes().putAttribute(EGRESSTIME, egressTime);
287  }
static final String EGRESSTIME
Here is the call graph for this function:

◆ getAccessTime()

static double org.matsim.vehicles.VehicleUtils.getAccessTime ( VehicleType  vehicleType)
static

Definition at line 289 of file VehicleUtils.java.

References org.matsim.utils.objectattributes.attributable.Attributes.getAttribute(), and org.matsim.vehicles.VehicleType.getAttributes().

Referenced by org.matsim.vehicles.VehicleType.getAccessTime(), and org.matsim.vehicles.VehicleWriterV1.writeVehicleTypes().

289  {
290  final Object attribute = vehicleType.getAttributes().getAttribute( ACCESSTIME );
291  if ( attribute==null ) {
292  return 1.0 ; // this was the default value in V1; could also return Double-null instead.
293  } else {
294  return (double) attribute ;
295  }
296  }
static final String ACCESSTIME
Here is the call graph for this function:

◆ setAccessTime()

static void org.matsim.vehicles.VehicleUtils.setAccessTime ( VehicleType  vehicleType,
double  accessTime 
)
static

Definition at line 298 of file VehicleUtils.java.

References org.matsim.vehicles.VehicleType.getAttributes(), and org.matsim.utils.objectattributes.attributable.Attributes.putAttribute().

Referenced by org.matsim.vehicles.VehicleType.setAccessTime().

298  {
299  vehicleType.getAttributes().putAttribute(ACCESSTIME, accessTime);
300  }
static final String ACCESSTIME
Here is the call graph for this function:

◆ getFuelConsumption()

static Double org.matsim.vehicles.VehicleUtils.getFuelConsumption ( VehicleType  vehicleType)
static
Deprecated:
use getFuelConsumptionPerMeter instead

Definition at line 306 of file VehicleUtils.java.

References org.matsim.vehicles.VehicleType.getEngineInformation(), and org.matsim.vehicles.VehicleUtils.getFuelConsumptionLitersPerMeter().

Referenced by org.matsim.vehicles.VehicleUtils.createVehicle(), org.matsim.vehicles.EngineInformation.getFuelConsumption(), and org.matsim.vehicles.VehicleWriterV1.writeEngineInformation().

306  {
307  return getFuelConsumptionLitersPerMeter(vehicleType.getEngineInformation());
308  }
static Double getFuelConsumptionLitersPerMeter(EngineInformation engineInformation)
Here is the call graph for this function:

◆ setFuelConsumption()

static void org.matsim.vehicles.VehicleUtils.setFuelConsumption ( VehicleType  vehicleType,
double  literPerMeter 
)
static
Deprecated:
use setFuelConsumptionPerMeter instead

Definition at line 314 of file VehicleUtils.java.

References org.matsim.vehicles.VehicleType.getEngineInformation(), and org.matsim.vehicles.VehicleUtils.setFuelConsumptionLitersPerMeter().

Referenced by org.matsim.vehicles.VehicleUtils.createVehicle(), and org.matsim.vehicles.EngineInformation.setFuelConsumption().

314  {
315  setFuelConsumptionLitersPerMeter(vehicleType.getEngineInformation(), literPerMeter);
316  }
static void setFuelConsumptionLitersPerMeter(EngineInformation engineInformation, double fuelConsumptionLitersPerMeter)
Here is the call graph for this function:

◆ getHbefaTechnology()

static String org.matsim.vehicles.VehicleUtils.getHbefaTechnology ( EngineInformation  ei)
static

Definition at line 320 of file VehicleUtils.java.

References org.matsim.utils.objectattributes.attributable.Attributes.getAttribute(), and org.matsim.vehicles.EngineInformation.getAttributes().

320  {
321  return (String) ei.getAttributes().getAttribute( HBEFA_TECHNOLOGY ) ;
322  }
static final String HBEFA_TECHNOLOGY
Here is the call graph for this function:

◆ setHbefaTechnology()

static void org.matsim.vehicles.VehicleUtils.setHbefaTechnology ( EngineInformation  engineInformation,
String  hbefaTechnology 
)
static

Definition at line 323 of file VehicleUtils.java.

References org.matsim.vehicles.EngineInformation.getAttributes(), and org.matsim.utils.objectattributes.attributable.Attributes.putAttribute().

323  {
324  engineInformation.getAttributes().putAttribute( HBEFA_TECHNOLOGY, hbefaTechnology ) ;
325  }
static final String HBEFA_TECHNOLOGY
Here is the call graph for this function:

◆ getHbefaVehicleCategory()

static String org.matsim.vehicles.VehicleUtils.getHbefaVehicleCategory ( EngineInformation  ei)
static

Definition at line 327 of file VehicleUtils.java.

References org.matsim.utils.objectattributes.attributable.Attributes.getAttribute(), and org.matsim.vehicles.EngineInformation.getAttributes().

327  {
328  return (String) ei.getAttributes().getAttribute( HBEFA_VEHICLE_CATEGORY_ ) ;
329  }
static final String HBEFA_VEHICLE_CATEGORY_
Here is the call graph for this function:

◆ setHbefaVehicleCategory()

static void org.matsim.vehicles.VehicleUtils.setHbefaVehicleCategory ( EngineInformation  engineInformation,
String  hbefaVehicleCategory 
)
static

Definition at line 330 of file VehicleUtils.java.

References org.matsim.vehicles.EngineInformation.getAttributes(), and org.matsim.utils.objectattributes.attributable.Attributes.putAttribute().

330  {
331  engineInformation.getAttributes().putAttribute( HBEFA_VEHICLE_CATEGORY_, hbefaVehicleCategory ) ;
332  }
static final String HBEFA_VEHICLE_CATEGORY_
Here is the call graph for this function:

◆ getHbefaSizeClass()

static String org.matsim.vehicles.VehicleUtils.getHbefaSizeClass ( EngineInformation  ei)
static

Definition at line 334 of file VehicleUtils.java.

References org.matsim.utils.objectattributes.attributable.Attributes.getAttribute(), and org.matsim.vehicles.EngineInformation.getAttributes().

334  {
335  return (String) ei.getAttributes().getAttribute(HBEFA_SIZE_CLASS);
336  }
static final String HBEFA_SIZE_CLASS
Here is the call graph for this function:

◆ setHbefaSizeClass()

static void org.matsim.vehicles.VehicleUtils.setHbefaSizeClass ( EngineInformation  engineInformation,
String  hbefaSizeClass 
)
static

Definition at line 337 of file VehicleUtils.java.

References org.matsim.vehicles.EngineInformation.getAttributes(), and org.matsim.utils.objectattributes.attributable.Attributes.putAttribute().

337  {
338  engineInformation.getAttributes().putAttribute( HBEFA_SIZE_CLASS, hbefaSizeClass ) ;
339  }
static final String HBEFA_SIZE_CLASS
Here is the call graph for this function:

◆ getHbefaEmissionsConcept()

static String org.matsim.vehicles.VehicleUtils.getHbefaEmissionsConcept ( EngineInformation  ei)
static

Definition at line 341 of file VehicleUtils.java.

References org.matsim.utils.objectattributes.attributable.Attributes.getAttribute(), and org.matsim.vehicles.EngineInformation.getAttributes().

341  {
342  return (String) ei.getAttributes().getAttribute(HBEFA_EMISSIONS_CONCEPT);
343  }
static final String HBEFA_EMISSIONS_CONCEPT
Here is the call graph for this function:

◆ setHbefaEmissionsConcept()

static void org.matsim.vehicles.VehicleUtils.setHbefaEmissionsConcept ( EngineInformation  engineInformation,
String  emissionsConcept 
)
static

Definition at line 344 of file VehicleUtils.java.

References org.matsim.vehicles.EngineInformation.getAttributes(), and org.matsim.utils.objectattributes.attributable.Attributes.putAttribute().

344  {
345  engineInformation.getAttributes().putAttribute( HBEFA_EMISSIONS_CONCEPT, emissionsConcept ) ;
346  }
static final String HBEFA_EMISSIONS_CONCEPT
Here is the call graph for this function:

◆ getEnergyConsumptionKWhPerMeter()

static Double org.matsim.vehicles.VehicleUtils.getEnergyConsumptionKWhPerMeter ( EngineInformation  engineInformation)
static

Definition at line 348 of file VehicleUtils.java.

References org.matsim.utils.objectattributes.attributable.Attributes.getAttribute(), and org.matsim.vehicles.EngineInformation.getAttributes().

348  {
349  return (Double) engineInformation.getAttributes().getAttribute(ENERGYCONSUMPTION);
350  }
static final String ENERGYCONSUMPTION
Here is the call graph for this function:

◆ setEnergyConsumptionKWhPerMeter()

static void org.matsim.vehicles.VehicleUtils.setEnergyConsumptionKWhPerMeter ( EngineInformation  engineInformation,
double  energyConsumptionKWhPerMeter 
)
static

Definition at line 352 of file VehicleUtils.java.

References org.matsim.vehicles.EngineInformation.getAttributes(), and org.matsim.utils.objectattributes.attributable.Attributes.putAttribute().

352  {
353  engineInformation.getAttributes().putAttribute(ENERGYCONSUMPTION, energyConsumptionKWhPerMeter);
354  }
static final String ENERGYCONSUMPTION
Here is the call graph for this function:

◆ getFuelConsumptionLitersPerMeter()

static Double org.matsim.vehicles.VehicleUtils.getFuelConsumptionLitersPerMeter ( EngineInformation  engineInformation)
static

Definition at line 356 of file VehicleUtils.java.

References org.matsim.utils.objectattributes.attributable.Attributes.getAttribute(), and org.matsim.vehicles.EngineInformation.getAttributes().

Referenced by org.matsim.vehicles.VehicleUtils.getFuelConsumption().

356  {
357  return (Double) engineInformation.getAttributes().getAttribute(FUELCONSUMPTION);
358  }
static final String FUELCONSUMPTION
Here is the call graph for this function:

◆ setFuelConsumptionLitersPerMeter()

static void org.matsim.vehicles.VehicleUtils.setFuelConsumptionLitersPerMeter ( EngineInformation  engineInformation,
double  fuelConsumptionLitersPerMeter 
)
static

Definition at line 360 of file VehicleUtils.java.

References org.matsim.vehicles.EngineInformation.getAttributes(), and org.matsim.utils.objectattributes.attributable.Attributes.putAttribute().

Referenced by org.matsim.vehicles.VehicleUtils.setFuelConsumption().

360  {
361  engineInformation.getAttributes().putAttribute(FUELCONSUMPTION, fuelConsumptionLitersPerMeter);
362  }
static final String FUELCONSUMPTION
Here is the call graph for this function:

◆ getEnergyCapacity()

static Double org.matsim.vehicles.VehicleUtils.getEnergyCapacity ( EngineInformation  engineInformation)
static

Definition at line 364 of file VehicleUtils.java.

References org.matsim.utils.objectattributes.attributable.Attributes.getAttribute(), and org.matsim.vehicles.EngineInformation.getAttributes().

364  {
365  return (Double) engineInformation.getAttributes().getAttribute(ENERGYCAPACITY);
366  }
static final String ENERGYCAPACITY
Here is the call graph for this function:

◆ setEnergyCapacity()

static void org.matsim.vehicles.VehicleUtils.setEnergyCapacity ( EngineInformation  engineInformation,
double  energyCapacityInKWhOrLiters 
)
static

Definition at line 368 of file VehicleUtils.java.

References org.matsim.vehicles.EngineInformation.getAttributes(), and org.matsim.utils.objectattributes.attributable.Attributes.putAttribute().

368  {
369  engineInformation.getAttributes().putAttribute(ENERGYCAPACITY, energyCapacityInKWhOrLiters);
370  }
static final String ENERGYCAPACITY
Here is the call graph for this function:

◆ getCostsPerSecondWaiting()

static Double org.matsim.vehicles.VehicleUtils.getCostsPerSecondWaiting ( CostInformation  costInformation)
static

Definition at line 373 of file VehicleUtils.java.

References org.matsim.utils.objectattributes.attributable.Attributes.getAttribute(), and org.matsim.vehicles.CostInformation.getAttributes().

373  {
374  return (Double) costInformation.getAttributes().getAttribute(COST_PER_SECOND_WAITING);
375  }
static final String COST_PER_SECOND_WAITING
Here is the call graph for this function:

◆ setCostsPerSecondWaiting()

static void org.matsim.vehicles.VehicleUtils.setCostsPerSecondWaiting ( CostInformation  costInformation,
double  costsPerSecond 
)
static

Definition at line 378 of file VehicleUtils.java.

References org.matsim.vehicles.CostInformation.getAttributes(), and org.matsim.utils.objectattributes.attributable.Attributes.putAttribute().

378  {
379  costInformation.getAttributes().putAttribute(COST_PER_SECOND_WAITING, costsPerSecond);
380  }
static final String COST_PER_SECOND_WAITING
Here is the call graph for this function:

◆ getCostsPerSecondInService()

static Double org.matsim.vehicles.VehicleUtils.getCostsPerSecondInService ( CostInformation  costInformation)
static

Definition at line 383 of file VehicleUtils.java.

References org.matsim.utils.objectattributes.attributable.Attributes.getAttribute(), and org.matsim.vehicles.CostInformation.getAttributes().

383  {
384  return (Double) costInformation.getAttributes().getAttribute(COST_PER_SECOND_INSERVICE);
385  }
static final String COST_PER_SECOND_INSERVICE
Here is the call graph for this function:

◆ setCostsPerSecondInService()

static void org.matsim.vehicles.VehicleUtils.setCostsPerSecondInService ( CostInformation  costInformation,
double  costsPerSecond 
)
static

Definition at line 388 of file VehicleUtils.java.

References org.matsim.vehicles.CostInformation.getAttributes(), and org.matsim.utils.objectattributes.attributable.Attributes.putAttribute().

388  {
389  costInformation.getAttributes().putAttribute(COST_PER_SECOND_INSERVICE, costsPerSecond);
390  }
static final String COST_PER_SECOND_INSERVICE
Here is the call graph for this function:

◆ createVehicle()

static Vehicle org.matsim.vehicles.VehicleUtils.createVehicle ( Id< Vehicle id,
VehicleType  type 
)
static

◆ getOrCreateAllvehicles()

static Vehicles org.matsim.vehicles.VehicleUtils.getOrCreateAllvehicles ( Scenario  scenario)
static

Definition at line 428 of file VehicleUtils.java.

References org.matsim.api.core.v01.Scenario.addScenarioElement(), and org.matsim.api.core.v01.Scenario.getScenarioElement().

Referenced by org.matsim.vehicles.VehicleUtils.findVehicle().

428  {
429  Vehicles map = (Vehicles) scenario.getScenarioElement( "allvehicles" );
430  if ( map==null ) {
431  log.info( "adding scenario element for allvehicles container" );
432  map = new VehiclesImpl();
433  scenario.addScenarioElement("allvehicles" , map);
434  }
435  return map;
436  }
Here is the call graph for this function:

◆ findVehicle()

static Vehicle org.matsim.vehicles.VehicleUtils.findVehicle ( Id< Vehicle vehicleId,
Scenario  scenario 
)
static

Definition at line 439 of file VehicleUtils.java.

References org.matsim.core.gbl.Gbl.FUTURE_SUPPRESSED, org.matsim.vehicles.VehicleUtils.getOrCreateAllvehicles(), org.matsim.api.core.v01.Scenario.getTransitVehicles(), org.matsim.vehicles.Vehicles.getVehicles(), and org.matsim.api.core.v01.Scenario.getVehicles().

439  {
440  Vehicle vehicle = getOrCreateAllvehicles( scenario ).getVehicles().get( vehicleId );
441  if ( vehicle==null ) {
442  if ( tryStdCnt>0){
443  tryStdCnt--;
444  log.info("vehicleId={} not in allVehicles; trying standard vehicles container ...", vehicleId);
445  if ( tryStdCnt==0 ) {
446  log.info( Gbl.FUTURE_SUPPRESSED );
447  }
448  }
449  vehicle = scenario.getVehicles().getVehicles().get( vehicleId );
450  }
451  if ( vehicle==null ) {
452  if ( tryTrnCnt>0 ) {
453  tryTrnCnt--;
454  log.info("vehicleId={} not in allVehicles; trying transit vehicles container ...", vehicleId);
455  if ( tryTrnCnt==0 ) {
456  log.info( Gbl.FUTURE_SUPPRESSED );
457  }
458  }
459  vehicle = scenario.getTransitVehicles().getVehicles().get( vehicleId );
460  }
461  if ( vehicle==null ) {
462  log.info("unable to find vehicle for vehicleId={}; will return null", vehicleId);
463  }
464  return vehicle ;
465  }
static Vehicles getOrCreateAllvehicles(Scenario scenario)
Map< Id< Vehicle >, Vehicle > getVehicles()
Here is the call graph for this function:

◆ writeVehicles()

static void org.matsim.vehicles.VehicleUtils.writeVehicles ( Vehicles  vehicles,
String  filename 
)
static

Definition at line 466 of file VehicleUtils.java.

References org.matsim.vehicles.MatsimVehicleWriter.writeFile().

466  {
467  new MatsimVehicleWriter( vehicles ).writeFile( filename );
468 
469  }
Here is the call graph for this function:

◆ getInitialLinkId()

static Id<Link> org.matsim.vehicles.VehicleUtils.getInitialLinkId ( Vehicle  vehicle)
static

Definition at line 471 of file VehicleUtils.java.

References org.matsim.api.core.v01.Id< T >.createLinkId(), org.matsim.utils.objectattributes.attributable.Attributes.getAttribute(), and org.matsim.utils.objectattributes.attributable.Attributable.getAttributes().

Referenced by org.matsim.core.mobsim.qsim.agents.PopulationAgentSource.findVehicleLink().

471  {
472  String attribute = (String) vehicle.getAttributes().getAttribute(INITIAL_LINK_ID);
473  return attribute == null ? null : Id.createLinkId(attribute);
474  }
static final String INITIAL_LINK_ID
Here is the call graph for this function:

◆ setInitialLinkId()

static void org.matsim.vehicles.VehicleUtils.setInitialLinkId ( Vehicle  vehicle,
Id< Link initialLinkId 
)
static

Definition at line 476 of file VehicleUtils.java.

References org.matsim.utils.objectattributes.attributable.Attributable.getAttributes(), and org.matsim.utils.objectattributes.attributable.Attributes.putAttribute().

476  {
477  vehicle.getAttributes().putAttribute(INITIAL_LINK_ID, initialLinkId.toString());
478  }
static final String INITIAL_LINK_ID
Here is the call graph for this function:

Member Data Documentation

◆ log

final Logger org.matsim.vehicles.VehicleUtils.log = LogManager.getLogger( VehicleUtils.class )
staticprivate

Definition at line 42 of file VehicleUtils.java.

◆ DEFAULT_VEHICLE_TYPE_ID

final String org.matsim.vehicles.VehicleUtils.DEFAULT_VEHICLE_TYPE_ID = "defaultVehicleType"
staticprivate

Definition at line 44 of file VehicleUtils.java.

◆ VEHICLE_ATTRIBUTE_KEY

final String org.matsim.vehicles.VehicleUtils.VEHICLE_ATTRIBUTE_KEY = "vehicles"
staticprivate

◆ VEHICLE_TYPES_ATTRIBUTE_KEY

final String org.matsim.vehicles.VehicleUtils.VEHICLE_TYPES_ATTRIBUTE_KEY = "vehicleTypes"
staticprivate

Definition at line 46 of file VehicleUtils.java.

Referenced by org.matsim.vehicles.VehicleUtils.getVehicleTypes().

◆ DOOR_OPERATION_MODE

final String org.matsim.vehicles.VehicleUtils.DOOR_OPERATION_MODE = "doorOperationMode"
staticprivate

Definition at line 49 of file VehicleUtils.java.

◆ EGRESSTIME

final String org.matsim.vehicles.VehicleUtils.EGRESSTIME = "egressTimeInSecondsPerPerson"
staticprivate

Definition at line 50 of file VehicleUtils.java.

◆ ACCESSTIME

final String org.matsim.vehicles.VehicleUtils.ACCESSTIME = "accessTimeInSecondsPerPerson"
staticprivate

Definition at line 51 of file VehicleUtils.java.

◆ FUELCONSUMPTION

final String org.matsim.vehicles.VehicleUtils.FUELCONSUMPTION = "fuelConsumptionLitersPerMeter"
staticprivate

Definition at line 52 of file VehicleUtils.java.

◆ ENERGYCONSUMPTION

final String org.matsim.vehicles.VehicleUtils.ENERGYCONSUMPTION = "energyConsumptionKWhPerMeter"
staticprivate

Definition at line 53 of file VehicleUtils.java.

◆ ENERGYCAPACITY

final String org.matsim.vehicles.VehicleUtils.ENERGYCAPACITY = "energyCapacityInKWhOrLiters"
staticprivate

Definition at line 54 of file VehicleUtils.java.

◆ HBEFA_VEHICLE_CATEGORY_

final String org.matsim.vehicles.VehicleUtils.HBEFA_VEHICLE_CATEGORY_ = "HbefaVehicleCategory"
staticprivate

Definition at line 55 of file VehicleUtils.java.

◆ HBEFA_TECHNOLOGY

final String org.matsim.vehicles.VehicleUtils.HBEFA_TECHNOLOGY = "HbefaTechnology"
staticprivate

Definition at line 56 of file VehicleUtils.java.

◆ HBEFA_SIZE_CLASS

final String org.matsim.vehicles.VehicleUtils.HBEFA_SIZE_CLASS = "HbefaSizeClass"
staticprivate

Definition at line 57 of file VehicleUtils.java.

◆ HBEFA_EMISSIONS_CONCEPT

final String org.matsim.vehicles.VehicleUtils.HBEFA_EMISSIONS_CONCEPT = "HbefaEmissionsConcept"
staticprivate

Definition at line 58 of file VehicleUtils.java.

◆ COST_PER_SECOND_WAITING

final String org.matsim.vehicles.VehicleUtils.COST_PER_SECOND_WAITING = "costsPerSecondWaiting"
staticprivate

Definition at line 59 of file VehicleUtils.java.

◆ COST_PER_SECOND_INSERVICE

final String org.matsim.vehicles.VehicleUtils.COST_PER_SECOND_INSERVICE = "costsPerSecondInService"
staticprivate

Definition at line 60 of file VehicleUtils.java.

◆ FUEL_TYPE

final String org.matsim.vehicles.VehicleUtils.FUEL_TYPE = "fuelType"
staticprivate

Definition at line 61 of file VehicleUtils.java.

◆ INITIAL_LINK_ID

final String org.matsim.vehicles.VehicleUtils.INITIAL_LINK_ID = "initialLinkId"
staticprivate

Definition at line 62 of file VehicleUtils.java.

◆ tryStdCnt

int org.matsim.vehicles.VehicleUtils.tryStdCnt = 5
staticprivate

Definition at line 437 of file VehicleUtils.java.

◆ tryTrnCnt

int org.matsim.vehicles.VehicleUtils.tryTrnCnt = 5
staticprivate

Definition at line 438 of file VehicleUtils.java.


The documentation for this class was generated from the following file: