U - the unit type.public abstract class DistDiscreteDoubleScalar<U extends Unit<U>> extends Object
Copyright (c) 2013-2014 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.
| Modifier and Type | Class and Description |
|---|---|
static class |
DistDiscreteDoubleScalar.Abs<U extends Unit<U>>
Absolute value.
|
static class |
DistDiscreteDoubleScalar.Rel<U extends Unit<U>>
Relative value.
|
| Modifier | Constructor and Description |
|---|---|
protected |
DistDiscreteDoubleScalar(DistDiscrete distribution,
U unit) |
protected |
DistDiscreteDoubleScalar(long value,
U unit) |
protected DistDiscreteDoubleScalar(DistDiscrete distribution, U unit)
distribution - the wrapped distribution function.unit - the unit.protected DistDiscreteDoubleScalar(long value,
U unit)
value - the constant value.unit - the unit.public final DistDiscrete getDistribution()
public final U getUnit()
Copyright © 2014–2015 Delft University of Technology. All rights reserved.