View Javadoc
1   package org.opentrafficsim.road.gtu.lane.perception.mental.ar;
2   
3   import org.opentrafficsim.road.gtu.lane.perception.mental.Task;
4   
5   /**
6    * Interface for tasks within in an Anticipation Reliance context where a task manager determines level of Anticipation Reliance
7    * and task demand.
8    * <p>
9    * Copyright (c) 2024-2024 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved. <br>
10   * BSD-style license. See <a href="https://opentrafficsim.org/docs/license.html">OpenTrafficSim License</a>.
11   * </p>
12   * @author <a href="https://github.com/averbraeck">Alexander Verbraeck</a>
13   * @author <a href="https://github.com/peter-knoppers">Peter Knoppers</a>
14   * @author <a href="https://github.com/wjschakel">Wouter Schakel</a>
15   */
16  public interface ArTask extends Task
17  {
18  
19      /**
20       * Set anticipation reliance.
21       * @param anticipationReliance set anticipation reliance
22       */
23      void setAnticipationReliance(double anticipationReliance);
24  
25      /**
26       * Returns the level of anticipation reliance.
27       * @return anticipation reliance
28       */
29      double getAnticipationReliance();
30  
31  }