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>

public class IdmPlusFactory extends AbstractIdmFactory<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 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 stream
      desiredHeadway - desired headway model
      desiredSpeed - desired speed model
  • Method Details