public class LaneBasedGTUCharacteristics
extends org.opentrafficsim.core.gtu.GTUCharacteristics
Copyright (c) 2013-2017 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.
Constructor and Description |
---|
LaneBasedGTUCharacteristics(org.opentrafficsim.core.gtu.GTUCharacteristics gtuCharacteristics,
LaneBasedStrategicalPlannerFactory<?> laneBasedStrategicalPlannerFactory,
org.opentrafficsim.core.network.route.Route route,
org.djunits.value.vdouble.scalar.Speed speed,
Set<DirectedLanePosition> initialLongitudinalPositions)
Construct a new set of lane based GTU characteristics.
|
Modifier and Type | Method and Description |
---|---|
Set<DirectedLanePosition> |
getInitialLongitudinalPositions() |
org.opentrafficsim.core.network.route.Route |
getRoute() |
org.djunits.value.vdouble.scalar.Speed |
getSpeed() |
LaneBasedStrategicalPlannerFactory<?> |
getStrategicalPlannerFactory() |
public LaneBasedGTUCharacteristics(org.opentrafficsim.core.gtu.GTUCharacteristics gtuCharacteristics, LaneBasedStrategicalPlannerFactory<?> laneBasedStrategicalPlannerFactory, org.opentrafficsim.core.network.route.Route route, org.djunits.value.vdouble.scalar.Speed speed, Set<DirectedLanePosition> initialLongitudinalPositions)
gtuCharacteristics
- GTUCharacteristics; characteristics of the super GTU type to be used for the GTUlaneBasedStrategicalPlannerFactory
- LaneBasedStrategicalPlannerFactory; the strategical planner for the GTUroute
- routespeed
- Speed; the initial speed of the GTUinitialLongitudinalPositions
- Set<DirectedLanePosition>; the lane, initial position and direction of the GTUpublic final LaneBasedStrategicalPlannerFactory<?> getStrategicalPlannerFactory()
public final org.opentrafficsim.core.network.route.Route getRoute()
public final org.djunits.value.vdouble.scalar.Speed getSpeed()
public final Set<DirectedLanePosition> getInitialLongitudinalPositions()
Copyright © 2014–2017 Delft University of Technology. All rights reserved.