Skip to content

Set :: RNG_Seed

mrnucleation edited this page Sep 6, 2018 · 2 revisions

Set :: RNG_Seed

This command sets the random number generator's initial seed to be used in a given simulation.

If a negative number is given, then the seed will be generated from the system clock. This is the default option if no input seed is given.

Format:

  set RNG_Seed (number of moves)

Example:

  set RNG_Seed -1
  set RNG_Seed 100

Note: If ran in parallel, each simulation thread is given a unique seed to avoid redundant simulations. This seed is given by the formula. (N Process) * (Initial Seed) + (Thread ID).

Clone this wiki locally