|
||||||||||
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,
java.util.Random randomGenerator)
Deprecated. Constructs a HyperGeometric distribution. |
Method Summary | |
---|---|
protected int |
hmdu(int N,
int M,
int n,
java.util.Random randomGenerator)
Deprecated. Returns a random number from the distribution. |
protected int |
hprs(int N,
int M,
int n,
java.util.Random 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,
java.util.Random 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. |
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, getRandomGenerator, setRandomGenerator |
Methods inherited from class org.apache.mahout.math.PersistentObject |
---|
clone |
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, java.util.Random randomGenerator)
Method Detail |
---|
protected int hmdu(int N, int M, int n, java.util.Random randomGenerator)
protected int hprs(int N, int M, int n, java.util.Random randomGenerator)
public int nextInt()
nextInt
in class AbstractDiscreteDistribution
public int nextInt(int N, int s, int n)
protected int nextInt(int N, int M, int n, java.util.Random randomGenerator)
public double pdf(int k)
public void setState(int N, int s, 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 |