Class ListHeadways
java.lang.Object
org.opentrafficsim.road.gtu.generator.headway.ListHeadways
public class ListHeadways extends Object implements Generator<Duration>
Headway generator that takes it's input from a file.
Copyright (c) 2013-2019 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.
- Version:
- $Revision$, $LastChangedDate$, by $Author$, initial version 11 jan. 2018
- Author:
- Alexander Verbraeck, Peter Knoppers, Wouter Schakel
-
Constructor Summary
Constructors Constructor Description ListHeadways(String fileName)Constructor using file. -
Method Summary
-
Constructor Details
-
ListHeadways
Constructor using file.- Parameters:
fileName- String; file with arrival times
-
-
Method Details
-
draw
- Specified by:
drawin interfaceGenerator<Duration>- Throws:
ProbabilityExceptionParameterException
-