|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.mahout.math.PersistentObject
org.apache.mahout.math.jet.random.AbstractDistribution
org.apache.mahout.math.jet.random.AbstractDiscreteDistribution
org.apache.mahout.math.jet.random.HyperGeometric
@Deprecated public class HyperGeometric
Field Summary |
---|
Fields inherited from class org.apache.mahout.math.jet.random.AbstractDistribution |
---|
randomGenerator |
Constructor Summary | |
---|---|
HyperGeometric(int N,
int s,
int n,
RandomEngine randomGenerator)
Deprecated. Constructs a HyperGeometric distribution. |
Method Summary | |
---|---|
protected int |
hmdu(int N,
int M,
int n,
RandomEngine randomGenerator)
Deprecated. Returns a random number from the distribution. |
protected int |
hprs(int N,
int M,
int n,
RandomEngine randomGenerator)
Deprecated. Returns a random number from the distribution. |
int |
nextInt()
Deprecated. Returns a random number from the distribution. |
int |
nextInt(int N,
int s,
int n)
Deprecated. Returns a random number from the distribution; bypasses the internal state. |
protected int |
nextInt(int N,
int M,
int n,
RandomEngine randomGenerator)
Deprecated. Returns a random number from the distribution; bypasses the internal state. |
double |
pdf(int k)
Deprecated. Returns the probability distribution function. |
void |
setState(int N,
int s,
int n)
Deprecated. Sets the parameters. |
static double |
staticNextInt(int N,
int M,
int n)
Deprecated. Returns a random number from the distribution. |
java.lang.String |
toString()
Deprecated. Returns a String representation of the receiver. |
Methods inherited from class org.apache.mahout.math.jet.random.AbstractDiscreteDistribution |
---|
nextDouble |
Methods inherited from class org.apache.mahout.math.jet.random.AbstractDistribution |
---|
apply, apply, clone, getRandomGenerator, makeDefaultGenerator, nextByte, nextChar, nextFloat, nextLong, setRandomGenerator |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public HyperGeometric(int N, int s, int n, RandomEngine randomGenerator)
Method Detail |
---|
protected int hmdu(int N, int M, int n, RandomEngine randomGenerator)
protected int hprs(int N, int M, int n, RandomEngine randomGenerator)
public int nextInt()
nextInt
in class AbstractDistribution
public int nextInt(int N, int s, int n)
protected int nextInt(int N, int M, int n, RandomEngine randomGenerator)
public double pdf(int k)
public void setState(int N, int s, int n)
public static double staticNextInt(int N, int M, int n)
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |