Structsยง
- Float
Codec - A Codec for a
GenotypeofFloatGenes. Theencodefunction creates aGenotypewithnum_chromosomeschromosomes andnum_genesgenes per chromosome. Thedecodefunction creates aVec<Vec<f32>>from theGenotypewhere the innerVeccontains the alleles of theFloatGenesin the chromosome - thef32values.