public class LaneBasedGTUCharacteristics
extends org.opentrafficsim.core.gtu.GTUCharacteristics
Copyright (c) 2013-2016 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,
LaneBasedStrategicalPlanner laneBasedStrategicalPlanner,
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.djunits.value.vdouble.scalar.Speed |
getSpeed() |
LaneBasedStrategicalPlanner |
getStrategicalPlanner() |
public LaneBasedGTUCharacteristics(org.opentrafficsim.core.gtu.GTUCharacteristics gtuCharacteristics, LaneBasedStrategicalPlanner laneBasedStrategicalPlanner, org.djunits.value.vdouble.scalar.Speed speed, Set<DirectedLanePosition> initialLongitudinalPositions)
gtuCharacteristics
- GTUCharacteristics; characteristics of the super GTU type to be used for the GTUlaneBasedStrategicalPlanner
- LaneBasedStrategicalPlanner; the strategical planner for the GTUspeed
- Speed; the initial speed of the GTUinitialLongitudinalPositions
- Set<DirectedLanePosition>; the lane, initial position and direction of the GTUpublic final LaneBasedStrategicalPlanner getStrategicalPlanner()
public final org.djunits.value.vdouble.scalar.Speed getSpeed()
public final Set<DirectedLanePosition> getInitialLongitudinalPositions()
Copyright © 2014–2016 Delft University of Technology. All rights reserved.