|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface RandomDistribution
This interface must be implemented by all the package's classes implementing a mono-variate random distribution. Distributions are not mutable.
Method Summary | |
---|---|
double |
generate()
Generates a pseudo-random number. |
double |
probability(double n)
Returns the probability (density) of a given number. |
Method Detail |
---|
double generate()
double probability(double n)
n
- A number.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |