set_sim_seed

Function set_sim_seed 

Source
pub fn set_sim_seed(seed: u64)
Expand description

Set the seed for the thread-local simulation RNG.

This function initializes the thread-local RNG with a specific seed, ensuring deterministic behavior. The same seed will always produce the same sequence of random values.

ยงParameters

  • seed - The seed value to use for deterministic randomness.

Set the seed for the thread-local simulation RNG.