Class FixedRouteGenerator

  • All Implemented Interfaces:
    java.io.Serializable, Generator<Route>

    public class FixedRouteGenerator
    extends ConstantGenerator<Route>
    implements java.io.Serializable
    Generate a fixed route (always the same).

    Copyright (c) 2013-2020 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
    BSD-style license. See OpenTrafficSim License.

    $LastChangedDate: 2020-01-23 11:14:19 +0100 (Thu, 23 Jan 2020) $, @version $Revision: 6010 $, by $Author: averbraeck $, initial version 20 mrt. 2015

    Author:
    Peter Knoppers
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      FixedRouteGenerator​(Route route)
      Construct a new FixedRouteGenerator.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String toString()
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • FixedRouteGenerator

        public FixedRouteGenerator​(Route route)
        Construct a new FixedRouteGenerator.
        Parameters:
        route - Route; the CompleteRoute to generate