public abstract class AbstractDiscreteDistribution extends AbstractDistribution
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractDiscreteDistribution()
Makes this class non instantiable, but still let's others inherit from it.
|
| Modifier and Type | Method and Description |
|---|---|
double |
nextDouble()
Returns a random number from the distribution; returns (double) nextInt().
|
apply, apply, getRandomGenerator, nextInt, randomDouble, setRandomGeneratorisDensifyingprotected AbstractDiscreteDistribution()
public double nextDouble()
nextDouble in class AbstractDistributionCopyright © 2008–2015 The Apache Software Foundation. All rights reserved.