|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--statistic.distribution.GenericDistribution | +--statistic.distribution.GenericDiscreteDistribution
Field Summary | |
boolean |
cdf
|
Fields inherited from class statistic.distribution.GenericDistribution |
name, paramNames, params |
Fields inherited from interface statistic.RandomGenerator |
random |
Constructor Summary | |
GenericDiscreteDistribution()
|
Method Summary | |
double |
cdf(double x)
Method cdf Returns the value of the cumulative distribution function at x where x is a double It's defined for compatibility problems |
abstract double |
cdf(int x)
Returns the value of the cumulative distribution function at x where x is an int |
double |
getFMAX()
Method getFMAX: For some Discrete Distribution we could have a pb to generate a randInt because of the cdf value So when we generate random value we verify that this value is < getFMAX() |
boolean |
getInitialisationStatus()
|
int |
getKMAX(int x)
Method getKMAX. |
abstract double |
getSumCdf(int k)
|
double |
pdf(double x)
Retourne la valeur de la pdf(x) where x is a double |
double |
rand()
Method rand : to generate a random double(compatibility with GenericDistribution) value |
int |
randInt()
Method randInt. |
int |
randIntFast()
Method randIntFast. |
void |
setInitialisationStatus(boolean cdf)
|
Methods inherited from class statistic.distribution.GenericDistribution |
getEquation, getName, getParam, getParamName, getParams, getParamsCount, getParamsNames, mean, normalStandardCdf, setParam, setParams, var |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public boolean cdf
Constructor Detail |
public GenericDiscreteDistribution()
Method Detail |
public abstract double cdf(int x)
public double pdf(double x)
pdf
in class GenericDistribution
public double cdf(double x)
cdf
in class GenericDistribution
x
-
public int randInt() throws java.lang.OutOfMemoryError
java.lang.OutOfMemoryError
public int randIntFast() throws java.lang.OutOfMemoryError
java.lang.OutOfMemoryError
public double getFMAX()
public int getKMAX(int x)
x
- we could have a more or less big KMAX (il changes the iteration number)
public double rand()
rand
in class GenericDistribution
public boolean getInitialisationStatus()
public void setInitialisationStatus(boolean cdf)
public abstract double getSumCdf(int k)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |