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.
 
@FunctionalInterface
public interface TaskSupplier
Supplies a Task for within Fullers model.
 
 Copyright (c) 2013-2020 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 28 jun. 2018 
 - Author:
 - Alexander Verbraeck, Peter Knoppers, Wouter Schakel
 
- 
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classTaskSupplier.ConstantClass that supplies a constant task. - 
Method Summary
Modifier and Type Method Description TaskgetTask(LaneBasedGTU gtu)Returns a task for the given GTU. 
- 
Method Details
- 
getTask
Returns a task for the given GTU.- Parameters:
 gtu- LaneBasedGTU; gtu- Returns:
 - Task; task for given GTU
 
 
 -