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.
|
nextDoubleapply, apply, getRandomGenerator, randomDouble, setRandomGeneratorisDensifyingpublic Poisson(double mean,
Random randomGenerator)
public int nextInt()
nextInt in class AbstractDistributionpublic int nextInt(double theMean)
Copyright © 2008–2016 The Apache Software Foundation. All rights reserved.