public class AdaptationHeadway extends Object implements Fuller.BehavioralAdaptation
Copyright (c) 2013-2018 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.
Modifier and Type | Field and Description |
---|---|
static ParameterTypeDouble |
BETA_T
Parameter for desired headway scaling.
|
Constructor and Description |
---|
AdaptationHeadway() |
Modifier and Type | Method and Description |
---|---|
void |
adapt(Parameters parameters,
double taskSaturation)
Adapt to task saturation by changing parameter values.
|
public static final ParameterTypeDouble BETA_T
public void adapt(Parameters parameters, double taskSaturation) throws ParameterException
adapt
in interface Fuller.BehavioralAdaptation
parameters
- Parameters; parameterstaskSaturation
- double; task saturationParameterException
- if a parameter is missing or out of boundsCopyright © 2014–2018 Delft University of Technology. All rights reserved.