Class AdaptationSpeedChannel
java.lang.Object
org.opentrafficsim.road.gtu.lane.perception.mental.FactorAdaptation
org.opentrafficsim.road.gtu.lane.perception.mental.channel.AdaptationSpeedChannel
- All Implemented Interfaces:
BehavioralAdaptation
Reduces the desired speed as behavioral adaptation. The equation is v0 = v0_base * min(1, 1/(1+Beta_v0*(TS-1))).
Copyright (c) 2024-2024 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.
- Author:
- Wouter Schakel
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ParameterTypeDoubleParameter for desired speed scaling. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidadapt(Parameters parameters) Adapt to task saturation by changing parameter values.Methods inherited from class org.opentrafficsim.road.gtu.lane.perception.mental.FactorAdaptation
getFactor
-
Field Details
-
BETA_V0
Parameter for desired speed scaling.
-
-
Constructor Details
-
AdaptationSpeedChannel
public AdaptationSpeedChannel()Constructor.
-
-
Method Details
-
adapt
Adapt to task saturation by changing parameter values.- Parameters:
parameters- parameters- Throws:
ParameterException- if a parameter is missing or out of bounds
-