Class IdmPlusFactory
java.lang.Object
org.opentrafficsim.road.gtu.lane.tactical.following.AbstractIdmFactory<IdmPlus>
org.opentrafficsim.road.gtu.lane.tactical.following.IdmPlusFactory
- All Implemented Interfaces:
Supplier<IdmPlus>,CarFollowingModelFactory<IdmPlus>,ModelComponentFactory,ModelComponentSupplier<IdmPlus>
Factory for IDM+.
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
-
Constructor Summary
ConstructorsConstructorDescriptionIdmPlusFactory(nl.tudelft.simulation.jstats.streams.StreamInterface randomStream) Constructor.IdmPlusFactory(nl.tudelft.simulation.jstats.streams.StreamInterface randomStream, Supplier<? extends DesiredHeadwayModel> desiredHeadway, Supplier<? extends DesiredSpeedModel> desiredSpeed) Constructor. -
Method Summary
Methods inherited from class org.opentrafficsim.road.gtu.lane.tactical.following.AbstractIdmFactory
get, getParameters
-
Constructor Details
-
IdmPlusFactory
public IdmPlusFactory(nl.tudelft.simulation.jstats.streams.StreamInterface randomStream) Constructor.- Parameters:
randomStream- random number stream
-
IdmPlusFactory
public IdmPlusFactory(nl.tudelft.simulation.jstats.streams.StreamInterface randomStream, Supplier<? extends DesiredHeadwayModel> desiredHeadway, Supplier<? extends DesiredSpeedModel> desiredSpeed) Constructor.- Parameters:
randomStream- random number streamdesiredHeadway- desired headway modeldesiredSpeed- desired speed model
-
-
Method Details