Class ArFuller
java.lang.Object
org.opentrafficsim.road.gtu.lane.perception.mental.Fuller
org.opentrafficsim.road.gtu.lane.perception.mental.SumFuller<ArTask>
org.opentrafficsim.road.gtu.lane.perception.mental.ar.ArFuller
- All Implemented Interfaces:
Mental
Extends Fuller with the concept of anticipation reliance (AR).
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:
- Alexander Verbraeck, Peter Knoppers, Wouter Schakel
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ParameterTypeDoubleFraction of primary task that can be reduced by anticipation reliance.static final ParameterTypeDoubleFraction of auxiliary tasks that can be reduced by anticipation reliance. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected doublegetTotalTaskDemand(LanePerception perception) Returns the total level of task demand, possibly after anticipation reliance.protected voidmanage(LanePerception perception) Manage task demand and anticipation reliance levels.toString()Methods inherited from class org.opentrafficsim.road.gtu.lane.perception.mental.SumFuller
addTask, getTasks, removeTask
-
Field Details
-
ALPHA
Fraction of primary task that can be reduced by anticipation reliance. -
BETA
Fraction of auxiliary tasks that can be reduced by anticipation reliance.
-
-
Constructor Details
-
ArFuller
public ArFuller(Set<ArTask> tasks, Set<BehavioralAdaptation> behavioralAdapatations, String primaryTaskId) Constructor.- Parameters:
tasks- tasksbehavioralAdapatations- behavioralAdapatationsprimaryTaskId- String; primary task id
-
-
Method Details
-
getTotalTaskDemand
Description copied from class:FullerReturns the total level of task demand, possibly after anticipation reliance.- Overrides:
getTotalTaskDemandin classSumFuller<ArTask>- Parameters:
perception- perception- Returns:
- level of task demand
- Throws:
ParameterException- if a parameter is missing or out of bounds
-
manage
Manage task demand and anticipation reliance levels.- Parameters:
perception- perception- Throws:
ParameterException- if a parameter is missing or out of bounds
-
toString
-