Interface ARI1RNGDeterministicType
public interface ARI1RNGDeterministicType
A pseudorandom number generator with a published, deterministic algorithm
that is not allowed to change in new versions of the software.
-
Method Summary
-
Method Details
-
reset
void reset()Reset this RNG instance. -
random
double random()Generate a random number. Implementations are required to produce the same sequence of random numbers for the same seed, and are required to restart the sequence from the beginning after a call toreset().- Returns:
- A random number in the range [0, 1]
-