Interface ModelComponentSupplier<T>

Type Parameters:
T - component type
All Superinterfaces:
ModelComponentFactory, Supplier<T>
All Known Subinterfaces:
CarFollowingModelFactory<T>
All Known Implementing Classes:
AbstractIdmFactory, IdmFactory, IdmPlusFactory, IdmPlusMultiFactory

public interface ModelComponentSupplier<T> extends ModelComponentFactory, Supplier<T>
Supplier of a model component. Additional to ModelComponentFactory this defines a get() method to obtain the component without input. Factories that require input to return a component should extend ModelComponentFactory and define their own method to obtain the component.

Copyright (c) 2024-2024 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.

Author:
Wouter Schakel