Class LmrsFactory.IdmPlusMultiFunction
java.lang.Object
org.opentrafficsim.road.gtu.tactical.lmrs.LmrsFactory.IdmPlusMultiFunction
- All Implemented Interfaces:
BiFunction<DesiredHeadwayModel,,DesiredSpeedModel, CarFollowingModel> Supplier<LmrsFactory.IdmPlusMultiFunction>,Stateless<LmrsFactory.IdmPlusMultiFunction>
- Enclosing class:
- LmrsFactory<T extends AbstractIncentivesTacticalPlanner>
public static final class LmrsFactory.IdmPlusMultiFunction
extends Object
implements BiFunction<DesiredHeadwayModel,DesiredSpeedModel,CarFollowingModel>, Stateless<LmrsFactory.IdmPlusMultiFunction>
Recognition interface to add nLeaders parameter.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final LmrsFactory.IdmPlusMultiFunctionSingleton instance. -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.function.BiFunction
andThen
-
Field Details
-
SINGLETON
Singleton instance.
-
-
Constructor Details
-
IdmPlusMultiFunction
public IdmPlusMultiFunction()
-
-
Method Details
-
apply
- Specified by:
applyin interfaceBiFunction<DesiredHeadwayModel,DesiredSpeedModel, CarFollowingModel>
-
get
- Specified by:
getin interfaceStateless<LmrsFactory.IdmPlusMultiFunction>- Specified by:
getin interfaceSupplier<LmrsFactory.IdmPlusMultiFunction>
-