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

public interface Task extends Identifiable
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 Type
    Method
    Description
    double
    Returns the gross task demand as most recently returned by getTaskDemand(LanePerception).
    double
    Returns the gross task demand.

    Methods inherited from interface org.djutils.base.Identifiable

    getId
  • Method Details

    • getTaskDemand

      double getTaskDemand(LanePerception perception) throws ParameterException
      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 by getTaskDemand(LanePerception).
      Returns:
      gross task demand