Class AdaptationUpdateTime
java.lang.Object
org.opentrafficsim.road.gtu.lane.perception.mental.channel.AdaptationUpdateTime
- All Implemented Interfaces:
Supplier<AdaptationUpdateTime>,Stateless<AdaptationUpdateTime>,BehavioralAdaptation
public final class AdaptationUpdateTime
extends Object
implements BehavioralAdaptation, Stateless<AdaptationUpdateTime>
Behavioral adaptation which increases the update time (time step) for lower levels of attention (maximum in steady-state in
the Attention Matrix).
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 ParameterTypeDoubleLevel of attention, which is the maximum in the steady state of the Attention Matrix.static final ParameterTypeDurationUpdate time.static final ParameterTypeDurationMinimum update time.static final ParameterTypeDurationMinimum update time.static final AdaptationUpdateTimeSingleton instance. -
Method Summary
Modifier and TypeMethodDescriptionvoidadapt(Parameters parameters) Adapt to task saturation by changing parameter values.get()
-
Field Details
-
DT
Update time. -
DT_MIN
Minimum update time. -
DT_MAX
Minimum update time. -
ATT
Level of attention, which is the maximum in the steady state of the Attention Matrix. -
SINGLETON
Singleton instance.
-
-
Method Details
-
adapt
Description copied from interface:BehavioralAdaptationAdapt to task saturation by changing parameter values.- Specified by:
adaptin interfaceBehavioralAdaptation- Parameters:
parameters- parameters- Throws:
ParameterException- if a parameter is missing or out of bounds
-
get
- Specified by:
getin interfaceStateless<AdaptationUpdateTime>- Specified by:
getin interfaceSupplier<AdaptationUpdateTime>
-