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-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
Modifier and TypeInterfaceDescriptionstatic class
Manages a set of tasks without considering anticipation reliance. -
Method Summary
Modifier and TypeMethodDescriptionvoid
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>; tasksperception
- LanePerception; perceptiongtu
- LaneBasedGtu; gtuparameters
- Parameters; parameters- Throws:
org.opentrafficsim.base.parameters.ParameterException
- if a parameter is missing or out of boundsGtuException
- exceptions pertaining to the GTU
-