Structsยง
- BitCodec
- A Codec for a
Genotype
ofBitGenes
. Theencode
function creates aGenotype
withnum_chromosomes
chromosomes andnum_genes
genes per chromosome. Thedecode
function creates aVec<Vec<bool>>
from theGenotype
where the innerVec
contains the alleles of theBitGenes
in the chromosome - thebool
values.