public class ListHeadways extends Object implements org.opentrafficsim.core.distributions.Generator<org.djunits.value.vdouble.scalar.Duration>
Copyright (c) 2013-2017 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 org.djunits.value.vdouble.scalar.Duration draw()
throws org.opentrafficsim.core.distributions.ProbabilityException,
org.opentrafficsim.base.parameters.ParameterException
draw in interface org.opentrafficsim.core.distributions.Generator<org.djunits.value.vdouble.scalar.Duration>org.opentrafficsim.core.distributions.ProbabilityExceptionorg.opentrafficsim.base.parameters.ParameterExceptionCopyright © 2014–2018 Delft University of Technology. All rights reserved.