public final class Poisson extends AbstractDiscreteDistribution
Constructor and Description |
---|
Poisson(double mean,
Random randomGenerator)
Constructs a poisson distribution.
|
Modifier and Type | Method and Description |
---|---|
int |
nextInt() |
int |
nextInt(double theMean)
Returns a random number from the distribution; bypasses the internal state.
|
nextDouble
apply, apply, getRandomGenerator, randomDouble, setRandomGenerator
isDensifying
public Poisson(double mean, Random randomGenerator)
public int nextInt()
nextInt
in class AbstractDistribution
public int nextInt(double theMean)
Copyright © 2008–2015 The Apache Software Foundation. All rights reserved.