public class LaneBasedGTUCharacteristics
extends org.opentrafficsim.core.gtu.GTUCharacteristics
Copyright (c) 2013-2015 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.
| Modifier and Type | Field and Description |
|---|---|
(package private) Set<DirectedLanePosition> |
initialLongitudinalPositions
The initial lanes, positions and direction of the GTU.
|
(package private) LanePerceptionFull |
perception
The lane perception of the GTU.
|
(package private) LaneBasedStrategicalPlanner |
strategicalPlanner
The strategical planner of the GTU.
|
(package private) org.djunits.value.vdouble.scalar.Speed |
velocity
The maximum velocity of the GTU.
|
| Constructor and Description |
|---|
LaneBasedGTUCharacteristics(org.opentrafficsim.core.gtu.GTUCharacteristics gtuCharacteristics,
LanePerceptionFull lanePerceptionFull,
LaneBasedStrategicalPlanner laneBasedStrategicalPlanner,
org.djunits.value.vdouble.scalar.Speed velocity,
Set<DirectedLanePosition> initialLongitudinalPositions)
Construct a new set of lane based GTU characteristics.
|
| Modifier and Type | Method and Description |
|---|---|
Set<DirectedLanePosition> |
getInitialLongitudinalPositions() |
LanePerceptionFull |
getPerception() |
LaneBasedStrategicalPlanner |
getStrategicalPlanner() |
org.djunits.value.vdouble.scalar.Speed |
getVelocity() |
final LanePerceptionFull perception
final LaneBasedStrategicalPlanner strategicalPlanner
final org.djunits.value.vdouble.scalar.Speed velocity
final Set<DirectedLanePosition> initialLongitudinalPositions
public LaneBasedGTUCharacteristics(org.opentrafficsim.core.gtu.GTUCharacteristics gtuCharacteristics,
LanePerceptionFull lanePerceptionFull,
LaneBasedStrategicalPlanner laneBasedStrategicalPlanner,
org.djunits.value.vdouble.scalar.Speed velocity,
Set<DirectedLanePosition> initialLongitudinalPositions)
gtuCharacteristics - GTUCharacteristics; characteristics of the super GTU type to be used for the GTUlanePerceptionFull - LanePerceptionFull; the perception for the GTUlaneBasedStrategicalPlanner - LaneBasedStrategicalPlanner; the strategical planner for the GTUvelocity - Speed; the initial velocity of the GTUinitialLongitudinalPositions - Set<DirectedLanePosition>; the lane, initial position and direction of the GTUpublic LanePerceptionFull getPerception()
public LaneBasedStrategicalPlanner getStrategicalPlanner()
public org.djunits.value.vdouble.scalar.Speed getVelocity()
public Set<DirectedLanePosition> getInitialLongitudinalPositions()
Copyright © 2014–2016 Delft University of Technology. All rights reserved.