Interface Task
- All Superinterfaces:
Identifiable
- All Known Subinterfaces:
ArTask,ChannelTask
- All Known Implementing Classes:
AbstractArTask,AbstractTask,ArTaskCarFollowing,ArTaskCarFollowingExp,ArTaskConstant,ArTaskExponential,ArTaskHeadwayBased,ArTaskLaneChanging,ArTaskLaneChangingD,ArTaskRoadSideDistraction,ChannelTaskAcceleration,ChannelTaskCarFollowing,ChannelTaskConflict,ChannelTaskConstant,ChannelTaskCooperation,ChannelTaskLaneChange,ChannelTaskLocalDistraction,ChannelTaskRoadSideDistraction,ChannelTaskScan,ChannelTaskSignal,ChannelTaskSocio,ChannelTaskTrafficLight
Interface for tasks, where each describes a fundamental relation between exogenous inputs causing a mental task demand.
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:
- Alexander Verbraeck, Peter Knoppers, Wouter Schakel
-
Method Summary
Modifier and TypeMethodDescriptiondoubleReturns the gross task demand as most recently returned bygetTaskDemand(LanePerception).doublegetTaskDemand(LanePerception perception) Returns the gross task demand.Methods inherited from interface org.djutils.base.Identifiable
getId
-
Method Details
-
getTaskDemand
Returns the gross task demand.- Parameters:
perception- perception- Returns:
- gross task demand
- Throws:
ParameterException- if a parameter is missing or out of bounds
-
getTaskDemand
double getTaskDemand()Returns the gross task demand as most recently returned bygetTaskDemand(LanePerception).- Returns:
- gross task demand
-