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-2019 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved. <br>
9    * BSD-style license. See <a href="http://opentrafficsim.org/docs/current/license.html">OpenTrafficSim License</a>.
10   * <p>
11   * @version $Revision$, $LastChangedDate$, by $Author$, initial version Sep 15, 2016 <br>
12   * @author <a href="http://www.tbm.tudelft.nl/averbraeck">Alexander Verbraeck</a>
13   * @author <a href="http://www.tudelft.nl/pknoppers">Peter Knoppers</a>
14   * @author <a href="http://www.transport.citg.tudelft.nl">Wouter Schakel</a>
15   */
16  public class IDMPlusFactory extends AbstractIDMFactory<IDMPlus>
17  {
18  
19      /**
20       * Constructor.
21       * @param randomStream StreamInterface; random number stream
22       */
23      public IDMPlusFactory(final StreamInterface randomStream)
24      {
25          super(new IDMPlus(), randomStream);
26      }
27  
28      /** {@inheritDoc} */
29      @Override
30      public final String toString()
31      {
32          return "IDMPlusFactory";
33      }
34  
35  }