public class ListHeadways extends Object implements Generator<Duration>
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.
Constructor and Description |
---|
ListHeadways(String fileName)
Constructor using file.
|
public ListHeadways(String fileName)
fileName
- String; file with arrival timespublic Duration draw() throws ProbabilityException, ParameterException
draw
in interface Generator<Duration>
ProbabilityException
ParameterException
Copyright © 2014–2019 Delft University of Technology. All rights reserved.