public class Poisson2Variate extends PoissonVariate
| Modifier and Type | Field and Description |
|---|---|
private double |
alpha |
private double |
beta |
private double |
c |
private double |
k |
a, mean, normalVariate, useNormalApproximationrng| Constructor and Description |
|---|
Poisson2Variate() |
| Modifier and Type | Method and Description |
|---|---|
int |
generateInt() |
void |
setMean(double mean) |
generate, getMean, getParameters, setParameters, toStringgetRandomNumber, setRandomNumberclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetRandomNumber, setRandomNumberprivate double alpha
private double beta
private double k
private double c
public int generateInt()
generateInt in interface DiscreteRandomVariategenerateInt in class PoissonVariateint.public void setMean(double mean)
setMean in class PoissonVariatemean - the desired mean.