Class SumFuller<T extends Task>

java.lang.Object
org.opentrafficsim.road.gtu.lane.perception.mental.Fuller
org.opentrafficsim.road.gtu.lane.perception.mental.SumFuller<T>
Type Parameters:
T - task type
All Implemented Interfaces:
Mental
Direct Known Subclasses:
ArFuller

public class SumFuller<T extends Task> extends Fuller
Task-capability interface in accordance to Fuller (2011). Task demand is the sum of demands described by individual Tasks. These take exogenous information to describe the workload in fundamental relations. Task demand is divided by task capability to arrive at a task saturation. Task saturation is input to BehavioralAdaptations which alter parameters describing personal traits, such as desired headway and desired speed. In this way, task demand is kept at an equilibrium as described by Fuller.

A BehavioralAdaptation may also determine what the level of situational awareness is, which includes determining reaction time. Both situational awareness and reaction time parameters can be used in perception to model deteriorated perception due to a task demand imbalance.

Fuller, R., Driver control theory: From task difficulty homeostasis to risk allostasis, in Handbook of Traffic Psychology. 2011. p. 13-26

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
  • Field Details

    • TS_CRIT

      public static final ParameterTypeDouble TS_CRIT
      Critical task saturation.
    • TS_MAX

      public static final ParameterTypeDouble TS_MAX
      Maximum task saturation, pertaining to maximum deterioration.
  • Constructor Details

    • SumFuller

      public SumFuller(Set<T> tasks, Set<BehavioralAdaptation> behavioralAdapatations)
      Constructor with custom situational awareness.
      Parameters:
      tasks - tasks
      behavioralAdapatations - behavioralAdapatations
  • Method Details

    • getTotalTaskDemand

      protected double getTotalTaskDemand(LanePerception perception) throws ParameterException
      Description copied from class: Fuller
      Returns the total level of task demand, possibly after anticipation reliance.
      Specified by:
      getTotalTaskDemand in class Fuller
      Parameters:
      perception - perception
      Returns:
      level of task demand
      Throws:
      ParameterException - if a parameter is missing or out of bounds
    • addTask

      public void addTask(T task)
      Adds a task.
      Parameters:
      task - task to add
    • removeTask

      public void removeTask(T task)
      Removes a task.
      Parameters:
      task - task to remove
    • getTasks

      public ImmutableSet<T> getTasks()
      Description copied from class: Fuller
      Returns the currently active tasks.
      Specified by:
      getTasks in class Fuller
      Returns:
      tasks
    • toString

      public String toString()
      Overrides:
      toString in class Object