Class AdaptationSpeed
java.lang.Object
org.opentrafficsim.road.gtu.lane.perception.mental.AdaptationSpeed
- All Implemented Interfaces:
Fuller.BehavioralAdaptation
public class AdaptationSpeed extends java.lang.Object implements Fuller.BehavioralAdaptation
Behavioral adaptation which reduces the desired speed to reduce task-demand.
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 5 apr. 2018
- Author:
- Alexander Verbraeck, Peter Knoppers, Wouter Schakel
-
Field Summary
Fields Modifier and Type Field Description static ParameterTypeDoubleBETA_V0Parameter for desired speed scaling. -
Constructor Summary
Constructors Constructor Description AdaptationSpeed() -
Method Summary
Modifier and Type Method Description voidadapt(Parameters parameters, double taskSaturation)Adapt to task saturation by changing parameter values.
-
Field Details
-
BETA_V0
Parameter for desired speed scaling.
-
-
Constructor Details
-
AdaptationSpeed
public AdaptationSpeed()
-
-
Method Details
-
adapt
Adapt to task saturation by changing parameter values.- Specified by:
adaptin interfaceFuller.BehavioralAdaptation- Parameters:
parameters- Parameters; parameterstaskSaturation- double; task saturation- Throws:
ParameterException- if a parameter is missing or out of bounds
-