Interface LongitudinalController
-
- All Known Implementing Classes:
CaccController
public interface LongitudinalController
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.- Version:
- $Revision$, $LastChangedDate$, by $Author$, initial version 27 sep. 2018
- Author:
- Alexander Verbraeck, Peter Knoppers, Wouter Schakel
-
-
Field Summary
Fields Modifier and Type Field Description static ParameterTypeLength
SENSOR_RANGE
Parameter for sensor range.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Acceleration
calculateAcceleration(LaneBasedGTU gtu)
Calculates the acceleration.
-
-
-
Field Detail
-
SENSOR_RANGE
static final ParameterTypeLength SENSOR_RANGE
Parameter for sensor range.
-
-
Method Detail
-
calculateAcceleration
Acceleration calculateAcceleration(LaneBasedGTU gtu) throws OperationalPlanException, ParameterException
Calculates the acceleration.- Parameters:
gtu
- LaneBasedGTU; the GTU- Returns:
- Acceleration from controller.
- Throws:
OperationalPlanException
ParameterException
-
-