Structsยง
- BitCodec
- A Codec for a
GenotypeofBitGenes. Theencodefunction creates aGenotypewithnum_chromosomeschromosomes andnum_genesgenes per chromosome. Thedecodefunction creates aVec<Vec<bool>>from theGenotypewhere the innerVeccontains the alleles of theBitGenesin the chromosome - theboolvalues.