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, setRandomGenerator
isDensifying
protected AbstractDiscreteDistribution()
public double nextDouble()
nextDouble
in class AbstractDistribution
Copyright © 2008–2017 The Apache Software Foundation. All rights reserved.