Function genevo::random::random_probability
[−]
[src]
pub fn random_probability<R>(rng: &mut R) -> f64 where
R: Rng + Sized,
Generates a random probability between 0 and 1 using the given Prng
.