Skip to main content

Module rng

Module rng 

Source
Expand description

Deterministic per-agent randomness.

Each agent gets its own stream derived from the scenario seed and the agent’s identity, so adding or reordering agents does not perturb another agent’s sequence. The generator is a small SplitMix64, kept in-crate so the byte-for-byte sequence stays stable across dependency updates.

Structs§

AgentRng
A deterministic pseudo-random stream for one agent.