IdmPlusMultiFactory.java

  1. package org.opentrafficsim.road.gtu.lane.tactical.following;

  2. import nl.tudelft.simulation.jstats.streams.StreamInterface;

  3. /**
  4.  * <p>
  5.  * Copyright (c) 2013-2024 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved. <br>
  6.  * BSD-style license. See <a href="https://opentrafficsim.org/docs/license.html">OpenTrafficSim License</a>.
  7.  * </p>
  8.  * @author <a href="https://github.com/averbraeck">Alexander Verbraeck</a>
  9.  * @author <a href="https://github.com/peter-knoppers">Peter Knoppers</a>
  10.  * @author <a href="https://github.com/wjschakel">Wouter Schakel</a>
  11.  */
  12. public class IdmPlusMultiFactory extends AbstractIdmFactory<IdmPlusMulti>
  13. {

  14.     /**
  15.      * Constructor.
  16.      * @param randomStream random number stream
  17.      */
  18.     public IdmPlusMultiFactory(final StreamInterface randomStream)
  19.     {
  20.         super(() -> new IdmPlusMulti(), randomStream);
  21.     }

  22.     @Override
  23.     public final String toString()
  24.     {
  25.         return "IDMPlusMultiFactory";
  26.     }

  27. }