|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Object | +--Opus5.ExponentialRV
Exponentially distributed random variable.
| Field Summary | |
protected double |
mu
The mean of the distribution. |
| Fields inherited from interface Opus5.RandomVariable |
copyright |
| Constructor Summary | |
ExponentialRV(double mu)
Constructs a ExponentialRV with the specified mean. |
|
| Method Summary | |
double |
nextDouble()
Returns a random number. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected double mu
| Constructor Detail |
public ExponentialRV(double mu)
ExponentialRV with the specified mean.mu - The mean of the distribution.| Method Detail |
public double nextDouble()
mu.nextDouble in interface RandomVariable
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||