# 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

  Modifier and Type
  Method
  Description
  `double`
  `random()`
  Generate a random number.
  `void`
  `reset()`
  Reset this RNG instance.

- ## 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 to `reset()`.
    Returns:
      A random number in the range [0, 1]