java.lang.Object
org.opentrafficsim.road.gtu.lane.tactical.following.AbstractIdmFactory<Idm>
org.opentrafficsim.road.gtu.lane.tactical.following.IdmFactory
All Implemented Interfaces:
Supplier<Idm>, CarFollowingModelFactory<Idm>, ModelComponentFactory, ModelComponentSupplier<Idm>

public class IdmFactory extends AbstractIdmFactory<Idm>
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

    • IdmFactory

      public IdmFactory(nl.tudelft.simulation.jstats.streams.StreamInterface randomStream)
      Constructor.
      Parameters:
      randomStream - random number stream
    • IdmFactory

      public IdmFactory(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