Class AdaptationHeadway
java.lang.Object
org.opentrafficsim.road.gtu.lane.perception.mental.AdaptationHeadway
- All Implemented Interfaces:
- Fuller.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 SummaryFieldsModifier and TypeFieldDescriptionstatic final org.opentrafficsim.base.parameters.ParameterTypeDoubleParameter for desired headway scaling.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidadapt(org.opentrafficsim.base.parameters.Parameters parameters, double taskSaturation) Adapt to task saturation by changing parameter values.
- 
Field Details- 
BETA_Tpublic static final org.opentrafficsim.base.parameters.ParameterTypeDouble BETA_TParameter for desired headway scaling.
 
- 
- 
Constructor Details- 
AdaptationHeadwaypublic AdaptationHeadway()
 
- 
- 
Method Details- 
adaptpublic void adapt(org.opentrafficsim.base.parameters.Parameters parameters, double taskSaturation) throws org.opentrafficsim.base.parameters.ParameterException Adapt to task saturation by changing parameter values.- Specified by:
- adaptin interface- Fuller.BehavioralAdaptation
- Parameters:
- parameters- Parameters; parameters
- taskSaturation- double; task saturation
- Throws:
- org.opentrafficsim.base.parameters.ParameterException- if a parameter is missing or out of bounds
 
 
-