public class HeadwayGeneratorDemand extends Object implements org.opentrafficsim.core.distributions.Generator<org.djunits.value.vdouble.scalar.Duration>
Copyright (c) 2013-2016 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.
| Constructor and Description |
|---|
HeadwayGeneratorDemand(org.djunits.value.vdouble.vector.TimeVector timeVector,
org.djunits.value.vdouble.vector.FrequencyVector demandVector,
org.opentrafficsim.core.dsol.OTSSimulatorInterface simulator) |
public HeadwayGeneratorDemand(org.djunits.value.vdouble.vector.TimeVector timeVector,
org.djunits.value.vdouble.vector.FrequencyVector demandVector,
org.opentrafficsim.core.dsol.OTSSimulatorInterface simulator)
timeVector - a time vectordemandVector - teh corresponding demand vectorsimulator - the simulatorpublic org.djunits.value.vdouble.scalar.Duration draw()
throws org.opentrafficsim.core.distributions.ProbabilityException,
org.opentrafficsim.core.gtu.behavioralcharacteristics.ParameterException
draw in interface org.opentrafficsim.core.distributions.Generator<org.djunits.value.vdouble.scalar.Duration>org.opentrafficsim.core.distributions.ProbabilityExceptionorg.opentrafficsim.core.gtu.behavioralcharacteristics.ParameterExceptionCopyright © 2014–2017 Delft University of Technology. All rights reserved.