Interface Fuller.BehavioralAdaptation
- All Known Implementing Classes:
AdaptationHeadway
,AdaptationSituationalAwareness
,AdaptationSpeed
- Enclosing class:
- Fuller
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Behavioral adaptation by changing parameter values.
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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
adapt
(org.opentrafficsim.base.parameters.Parameters parameters, double taskSaturation) Adapt to task saturation by changing parameter values.
-
Method Details
-
adapt
void adapt(org.opentrafficsim.base.parameters.Parameters parameters, double taskSaturation) throws org.opentrafficsim.base.parameters.ParameterException Adapt to task saturation by changing parameter values.- Parameters:
parameters
- Parameters; parameterstaskSaturation
- double; task saturation- Throws:
org.opentrafficsim.base.parameters.ParameterException
- if a parameter is missing or out of bounds
-