public class AdaptationSpeed extends Object implements Fuller.BehavioralAdaptation
Copyright (c) 2013-2017 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 org.opentrafficsim.base.parameters.ParameterTypeDouble |
BETA_V0
Parameter for desired speed scaling.
|
Constructor and Description |
---|
AdaptationSpeed() |
Modifier and Type | Method and Description |
---|---|
void |
adapt(org.opentrafficsim.base.parameters.Parameters parameters,
double taskSaturation)
Adapt to task saturation by changing parameter values.
|
public static final org.opentrafficsim.base.parameters.ParameterTypeDouble BETA_V0
public void adapt(org.opentrafficsim.base.parameters.Parameters parameters, double taskSaturation) throws org.opentrafficsim.base.parameters.ParameterException
adapt
in interface Fuller.BehavioralAdaptation
parameters
- Parameters; parameterstaskSaturation
- double; task saturationorg.opentrafficsim.base.parameters.ParameterException
- if a parameter is missing or out of boundsCopyright © 2014–2018 Delft University of Technology. All rights reserved.