public class ContinuousDistLength extends ContinuousDistDoubleScalar.Rel<Length,LengthUnit>
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 |
|---|
ContinuousDistLength(nl.tudelft.simulation.jstats.distributions.DistContinuous distribution,
LengthUnit unit) |
| Modifier and Type | Method and Description |
|---|---|
Length |
draw()
Generate the next object.
|
String |
toString() |
getDistribution, getUnitpublic ContinuousDistLength(nl.tudelft.simulation.jstats.distributions.DistContinuous distribution,
LengthUnit unit)
distribution - DistContinuous; distributionunit - LengthUnit; unitspublic Length draw()
draw in interface Generator<Length>draw in class ContinuousDistDoubleScalar.Rel<Length,LengthUnit>public final String toString()
toString in class ContinuousDistDoubleScalar.Rel<Length,LengthUnit>Copyright © 2014–2019 Delft University of Technology. All rights reserved.