Interface TaskManager

  • 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-2022 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
    BSD-style license. See OpenTrafficSim License.

    Version:
    $Revision$, $LastChangedDate$, by $Author$, initial version 30 jan. 2019
    Author:
    Alexander Verbraeck, Peter Knoppers, Wouter Schakel
    • Method Detail

      • 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