Class LaneBasedGTUCharacteristics
java.lang.Object
org.opentrafficsim.core.gtu.GTUCharacteristics
org.opentrafficsim.road.gtu.generator.characteristics.LaneBasedGTUCharacteristics
- All Implemented Interfaces:
 java.io.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-2020 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved. 
 BSD-style license. See OpenTrafficSim License.
 
- Version:
 - $Revision$, $LastChangedDate$, by $Author$, initial version Mar 8, 2016 
 - Author:
 - Alexander Verbraeck, Peter Knoppers
 - See Also:
 - Serialized Form
 
- 
Constructor Summary
Constructors Constructor Description LaneBasedGTUCharacteristics(GTUCharacteristics gtuCharacteristics, LaneBasedStrategicalPlannerFactory<?> laneBasedStrategicalPlannerFactory, Route route, Node origin, Node destination, VehicleModel vehicleModel)Construct a new set of lane based GTU characteristics. - 
Method Summary
Modifier and Type Method Description NodegetDestination()NodegetOrigin()RoutegetRoute()LaneBasedStrategicalPlannerFactory<?>getStrategicalPlannerFactory()VehicleModelgetVehicleModel()Returns the vehicle model.Methods inherited from class org.opentrafficsim.core.gtu.GTUCharacteristics
getFront, getGTUType, getLength, getMaximumAcceleration, getMaximumDeceleration, getMaximumSpeed, getWidth, toString 
- 
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- GTUCharacteristics; characteristics of the super GTU type to be used for the GTUlaneBasedStrategicalPlannerFactory- LaneBasedStrategicalPlannerFactory<?>; the strategical planner for the GTUroute- Route; routeorigin- Node; origindestination- Node; destinationvehicleModel- VehicleModel; vehicle model
 
 - 
 - 
Method Details
- 
getStrategicalPlannerFactory
- Returns:
 - LaneBasedStrategicalPlannerFactory; the strategical planner factory for the GTU
 
 - 
getRoute
- Returns:
 - Route; route
 
 - 
getOrigin
- Returns:
 - Node; origin
 
 - 
getDestination
- Returns:
 - Node; destination
 
 - 
getVehicleModel
Returns the vehicle model.- Returns:
 - VehicleModel; vehicle model
 
 
 -