Interface ArTask
- All Superinterfaces:
Identifiable,Task
- All Known Implementing Classes:
AbstractArTask,ArTaskCarFollowing,ArTaskCarFollowingExp,ArTaskConstant,ArTaskExponential,ArTaskHeadwayBased,ArTaskLaneChanging,ArTaskLaneChangingD,ArTaskRoadSideDistraction
Interface for tasks within in an Anticipation Reliance context where a task manager determines level of Anticipation Reliance
and task demand.
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
-
Method Summary
Modifier and TypeMethodDescriptiondoubleReturns the level of anticipation reliance.voidsetAnticipationReliance(double anticipationReliance) Set anticipation reliance.Methods inherited from interface org.djutils.base.Identifiable
getIdMethods inherited from interface org.opentrafficsim.road.gtu.lane.perception.mental.Task
getTaskDemand, getTaskDemand
-
Method Details
-
setAnticipationReliance
void setAnticipationReliance(double anticipationReliance) Set anticipation reliance.- Parameters:
anticipationReliance- set anticipation reliance
-
getAnticipationReliance
double getAnticipationReliance()Returns the level of anticipation reliance.- Returns:
- anticipation reliance
-