public class AdaptationSpeed extends Object implements Fuller.BehavioralAdaptation
Copyright (c) 2013-2019 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_V0
Parameter for desired speed scaling.
|
Constructor and Description |
---|
AdaptationSpeed() |
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_V0
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–2019 Delft University of Technology. All rights reserved.