pub fn make_random_genome(num_genes: usize) -> Genome {
    let mut genome = Vec::with_capacity(num_genes);
    for _ in 0..num_genes {
        genome.push(Gene::make_random_gene());
    }
    return genome;
}
// Returns by value a single genome with random genes.
Returns by value a single genome with random genes.
Returns by value a single genome with random genes .
pub fn make_random_genome(num_genes: usize) -> Genome {
    let mut genome = Vec::with_capacity(num_genes);
    for _ in 0..num_genes {
        genome.push(Gene::make_random_gene());
    }
    return genome;
}
pub fn make_random_genome ( num_genes : usize ) -> Genome { let mut genome = Vec :: with_capacity ( num_genes ) ; for _ in 0 .. num_genes { genome . push ( Gene :: make_random_gene ( ) ) ; } return genome ; }
Returns by value a single genome with random genes.
Returns by value a single genome with random genes .
num_genes
usize