Interface TaskSupplier
- All Known Implementing Classes:
TaskSupplier.Constant
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Supplies a Task for within Fullers model.
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
Class that supplies a constant task. -
Method Summary
-
Method Details
-
getTask
Returns a task for the given GTU.- Parameters:
gtu
- LaneBasedGtu; gtu- Returns:
- Task; task for given GTU
-