Class FixedRouteGenerator
- java.lang.Object
-
- org.opentrafficsim.core.distributions.ConstantGenerator<Route>
-
- org.opentrafficsim.core.network.route.FixedRouteGenerator
-
- All Implemented Interfaces:
Serializable
,Generator<Route>
public class FixedRouteGenerator extends ConstantGenerator<Route> implements Serializable
Generate a fixed route (always the same).Copyright (c) 2013-2022 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.$LastChangedDate$, @version $Revision$, by $Author$, 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 String
toString()
-
Methods inherited from class org.opentrafficsim.core.distributions.ConstantGenerator
draw, getValue
-
-
-
-
Constructor Detail
-
FixedRouteGenerator
public FixedRouteGenerator(Route route)
Construct a new FixedRouteGenerator.- Parameters:
route
- Route; the CompleteRoute to generate
-
-
Method Detail
-
toString
public final String toString()
- Overrides:
toString
in classConstantGenerator<Route>
-
-