All Known Implementing Classes:
TaskManager.SummativeTaskManager

public interface TaskManager
A task manager controls which task has priority and as a result how anticipation reliance is divided over different tasks.

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
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static class 
    Manages a set of tasks without considering anticipation reliance.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    manage(Set<Task> tasks, LanePerception perception, LaneBasedGtu gtu, org.opentrafficsim.base.parameters.Parameters parameters)
    Manage tasks.
  • Method Details

    • manage

      void manage(Set<Task> tasks, LanePerception perception, LaneBasedGtu gtu, org.opentrafficsim.base.parameters.Parameters parameters) throws org.opentrafficsim.base.parameters.ParameterException, GtuException
      Manage tasks.
      Parameters:
      tasks - Set<Task>; tasks
      perception - LanePerception; perception
      gtu - LaneBasedGtu; gtu
      parameters - Parameters; parameters
      Throws:
      org.opentrafficsim.base.parameters.ParameterException - if a parameter is missing or out of bounds
      GtuException - exceptions pertaining to the GTU