Class AdaptationHeadway
java.lang.Object
org.opentrafficsim.road.gtu.lane.perception.mental.FactorAdaptation
org.opentrafficsim.road.gtu.lane.perception.mental.AdaptationHeadway
- All Implemented Interfaces:
BehavioralAdaptation
Behavioral adaptation which increases the desired headway to reduce task-demand.
Copyright (c) 2013-2024 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.
- Author:
- Alexander Verbraeck, Peter Knoppers, Wouter Schakel
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ParameterTypeDoubleParameter for desired headway scaling. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidadapt(Parameters parameters) Adapt to task saturation by changing parameter values.Methods inherited from class org.opentrafficsim.road.gtu.lane.perception.mental.FactorAdaptation
getFactor
-
Field Details
-
BETA_T
Parameter for desired headway scaling.
-
-
Constructor Details
-
AdaptationHeadway
public AdaptationHeadway()Constructor.
-
-
Method Details
-
adapt
Description copied from interface:BehavioralAdaptationAdapt to task saturation by changing parameter values.- Parameters:
parameters- parameters- Throws:
ParameterException- if a parameter is missing or out of bounds
-