Type Definition relearn::Prng

source · []
pub type Prng = ChaCha8Rng;
Expand description

Pseudo-random number generator type used by agents and environments in this crate.

This is a cryptographically secure PRNG to ensure that rand::SeedableRng::from_rng can be used to fork random generators without concern for correlations. Cryptographic security is not otherwise important so the number of rounds used is on the low end.