Opus5
Interface RandomVariable
- All Known Implementing Classes:
- ExponentialRV, UniformRV, SimpleRV
- public interface RandomVariable
Encapsulates methods common to all random variables.
- Version:
- $Id: RandomVariable.java,v 3.1 1998/07/28 01:32:17 brpreiss Exp $
- Author:
- Bruno R. Preiss, P.Eng.
|
Field Summary |
static java.lang.String |
copyright
|
|
Method Summary |
double |
nextDouble()
Returns a random numbers. |
copyright
public static final java.lang.String copyright
nextDouble
public double nextDouble()
- Returns a random numbers.
The distribution of the random numbers returns is determined
by the type (class) of random variable implemented.
- Returns:
- A random number.
- See Also:
RandomNumberGenerator,
SimpleRV,
UniformRV,
ExponentialRV