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-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 
    Class that supplies a constant task.
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns a task for the given GTU.
  • Method Details

    • getTask

      Task getTask(LaneBasedGtu gtu)
      Returns a task for the given GTU.
      Parameters:
      gtu - LaneBasedGtu; gtu
      Returns:
      Task; task for given GTU