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