Class ArTaskRoadSideDistraction
java.lang.Object
org.opentrafficsim.road.gtu.lane.perception.mental.AbstractTask
org.opentrafficsim.road.gtu.lane.perception.mental.ar.AbstractArTask
org.opentrafficsim.road.gtu.lane.perception.mental.ar.ArTaskRoadSideDistraction
- All Implemented Interfaces:
Identifiable,ArTask,Task
Task-demand for road-side distraction.
Copyright (c) 2013-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
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondoublecalculateTaskDemand(LanePerception perception) Calculates the task demand.Methods inherited from class org.opentrafficsim.road.gtu.lane.perception.mental.ar.AbstractArTask
getAnticipationReliance, setAnticipationReliance, toStringMethods inherited from class org.opentrafficsim.road.gtu.lane.perception.mental.AbstractTask
getId, getTaskDemand, getTaskDemandMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.djutils.base.Identifiable
getIdMethods inherited from interface org.opentrafficsim.road.gtu.lane.perception.mental.Task
getTaskDemand, getTaskDemand
-
Constructor Details
-
ArTaskRoadSideDistraction
Constructor.- Parameters:
gtu- GTU
-
-
Method Details
-
calculateTaskDemand
Description copied from class:AbstractTaskCalculates the task demand.- Specified by:
calculateTaskDemandin classAbstractTask- Parameters:
perception- perception- Returns:
- task demand
- Throws:
ParameterException- if a parameter is missing or out of bounds
-