Class LaneBasedGtuCharacteristics

java.lang.Object
org.opentrafficsim.core.gtu.GtuCharacteristics
org.opentrafficsim.road.gtu.generator.characteristics.LaneBasedGtuCharacteristics
All Implemented Interfaces:
Serializable

public class LaneBasedGtuCharacteristics extends GtuCharacteristics
Characteristics for a lane base GTU. This class is used to store all characteristics of a (not-yet constructed) LaneBasedGtu.

Copyright (c) 2013-2024 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.

Author:
Alexander Verbraeck, Peter Knoppers
See Also:
  • Constructor Details

    • LaneBasedGtuCharacteristics

      public LaneBasedGtuCharacteristics(GtuCharacteristics gtuCharacteristics, LaneBasedStrategicalPlannerFactory<?> laneBasedStrategicalPlannerFactory, Route route, Node origin, Node destination, VehicleModel vehicleModel)
      Construct a new set of lane based GTU characteristics.
      Parameters:
      gtuCharacteristics - characteristics of the super GTU type to be used for the GTU
      laneBasedStrategicalPlannerFactory - the strategical planner for the GTU
      route - route
      origin - origin
      destination - destination
      vehicleModel - vehicle model
  • Method Details

    • getStrategicalPlannerFactory

      public final LaneBasedStrategicalPlannerFactory<?> getStrategicalPlannerFactory()
      Returns:
      the strategical planner factory for the GTU
    • getRoute

      public final Route getRoute()
      Returns:
      route
    • getOrigin

      public Node getOrigin()
      Returns:
      origin
    • getDestination

      public Node getDestination()
      Returns:
      destination
    • getVehicleModel

      public VehicleModel getVehicleModel()
      Returns the vehicle model.
      Returns:
      vehicle model