|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Distribution
The basic interface for all distributions of variables.
Method Summary | |
---|---|
java.lang.String |
getAttributeName()
|
int |
getNumberOfParameters()
This should return the number of parameters defining this distribution |
java.lang.String |
getParameterName(int index)
This method should return the name of the i-th parameter |
double |
getParameterValue(int index)
This method should return the value of the i-th parameter |
double |
getProbability(double value)
This method returns the density of the given distribution at the specified value. |
boolean |
isContinuous()
|
boolean |
isDiscrete()
|
java.lang.String |
mapValue(double value)
this method should return a string representation of the given value. |
java.lang.String |
toString()
Should return an textual representation of the distribution. |
Method Detail |
---|
boolean isDiscrete()
boolean isContinuous()
java.lang.String getAttributeName()
double getProbability(double value)
value
- the value which density shall be returnedjava.lang.String mapValue(double value)
value
- java.lang.String toString()
toString
in class java.lang.Object
int getNumberOfParameters()
java.lang.String getParameterName(int index)
double getParameterValue(int index)
|
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |