edu.cmu.minorthird.classify.algorithms.random
Class NegativeBinomial
java.lang.Object
edu.cmu.minorthird.classify.algorithms.random.NegativeBinomial
public class NegativeBinomial
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
n
protected int n
p
protected double p
gamma
protected Gamma gamma
poisson
protected Poisson poisson
NegativeBinomial
public NegativeBinomial(int n,
double p)
nextInt
public int nextInt()
nextInt
public int nextInt(int n,
double p)
setNandP
public void setNandP(int n,
double p)
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object