Trait neat::GenerateRandom
source · pub trait GenerateRandom {
// Required method
fn gen_random(rng: &mut impl Rng) -> Self;
}Expand description
Helper trait used in the generation of random starting populations
Required Methods§
sourcefn gen_random(rng: &mut impl Rng) -> Self
fn gen_random(rng: &mut impl Rng) -> Self
Create a completely random instance of the entity
Object Safety§
This trait is not object safe.