View Javadoc
1   package org.opentrafficsim.road.gtu.lane.tactical.following;
2   
3   import nl.tudelft.simulation.jstats.streams.StreamInterface;
4   
5   /**
6    * Factory for IDM+.
7    * <p>
8    * Copyright (c) 2013-2024 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved. <br>
9    * BSD-style license. See <a href="https://opentrafficsim.org/docs/license.html">OpenTrafficSim License</a>.
10   * </p>
11   * @author <a href="https://github.com/averbraeck">Alexander Verbraeck</a>
12   * @author <a href="https://tudelft.nl/staff/p.knoppers-1">Peter Knoppers</a>
13   * @author <a href="https://github.com/wjschakel">Wouter Schakel</a>
14   */
15  public class IdmPlusFactory extends AbstractIdmFactory<IdmPlus>
16  {
17  
18      /**
19       * Constructor.
20       * @param randomStream StreamInterface; random number stream
21       */
22      public IdmPlusFactory(final StreamInterface randomStream)
23      {
24          super(new IdmPlus(), randomStream);
25      }
26  
27      /** {@inheritDoc} */
28      @Override
29      public final String toString()
30      {
31          return "IDMPlusFactory";
32      }
33  
34  }