Class AdaptationSituationalAwareness

java.lang.Object
org.opentrafficsim.road.gtu.lane.perception.mental.AdaptationSituationalAwareness
All Implemented Interfaces:
Fuller.BehavioralAdaptation

public class AdaptationSituationalAwareness extends Object implements Fuller.BehavioralAdaptation
Behavioral adaptation which sets parameters for situational awareness and reaction time.
      / SA_MAX,                                                                         taskSaturation < TS_CRIT
 SA = | SA_MAX - (SA_MAX - SA_MIN) * (taskSaturation - TS_CRIT) / (TS_MAX - TS_CRIT),   TS_CRIT <= taskSaturation < TS_MAX 
      \ SA_MIN,                                                                         taskSaturation >= TS_MAX
 
 TR = (S_MAX - SA) * TR_MAX
 

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 Summary

    Fields
    Modifier and Type
    Field
    Description
    static final org.opentrafficsim.base.parameters.ParameterTypeDouble
    Situational awareness.
    static final org.opentrafficsim.base.parameters.ParameterTypeDouble
    Maximum situational awareness.
    static final org.opentrafficsim.base.parameters.ParameterTypeDouble
    Minimum situational awareness.
    static final org.opentrafficsim.base.parameters.ParameterTypeDuration
    Maximum reaction time at 0 situational awareness.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    adapt(org.opentrafficsim.base.parameters.Parameters parameters, double taskSaturation)
    Adapt to task saturation by changing parameter values.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • SA

      public static final org.opentrafficsim.base.parameters.ParameterTypeDouble SA
      Situational awareness.
    • SA_MIN

      public static final org.opentrafficsim.base.parameters.ParameterTypeDouble SA_MIN
      Minimum situational awareness.
    • SA_MAX

      public static final org.opentrafficsim.base.parameters.ParameterTypeDouble SA_MAX
      Maximum situational awareness.
    • TR_MAX

      public static final org.opentrafficsim.base.parameters.ParameterTypeDuration TR_MAX
      Maximum reaction time at 0 situational awareness.
  • Constructor Details

    • AdaptationSituationalAwareness

      public AdaptationSituationalAwareness()
  • Method Details

    • adapt

      public void adapt(org.opentrafficsim.base.parameters.Parameters parameters, double taskSaturation) throws org.opentrafficsim.base.parameters.ParameterException
      Adapt to task saturation by changing parameter values.
      Specified by:
      adapt in interface Fuller.BehavioralAdaptation
      Parameters:
      parameters - Parameters; parameters
      taskSaturation - double; task saturation
      Throws:
      org.opentrafficsim.base.parameters.ParameterException - if a parameter is missing or out of bounds