public class CeiledDistribution extends DiscreteDistribution
Math.ceil.| Modifier and Type | Field and Description |
|---|---|
ContinuousDistribution |
baseDist |
rng| Constructor and Description |
|---|
CeiledDistribution(ContinuousDistribution baseDist) |
| Modifier and Type | Method and Description |
|---|---|
int |
next()
Returns the ceiled value of the base distribution or
Integer.MIN/MAX_VALUE if the value exceeds the integer range. |
getDefaultRNG, getRandomNumberGenerator, resetpublic final ContinuousDistribution baseDist
public CeiledDistribution(ContinuousDistribution baseDist)
public int next()
Integer.MIN/MAX_VALUE if the value exceeds the integer range.next in class DiscreteDistribution