Genetically recombine the given chromosomes using a two point crossover technique which
combines two chromosomes at two random genes (loci), creating two new chromosomes.
Genetically recombine the given chromosomes using a two point crossover technique which
combines two chromosomes at two random genes (loci), creating two new chromosomes.
Genetically recombine the given chromosomes using a two point crossover technique which
combines two chromosomes at two random genes (loci), creating two new chromosomes.
Package ga
--------------------------------------------------------------------------------------------
The GAFloat, GAString, and GASequenceList classes all extend the GA class and can be used
to model different populations of candidate solutions.
The GASequenceList class models chromosomes as strings and extends GAString
while adding one main capability:
the ability to prevent duplicate genes from appearing in a chromosome.
Take the given chromosome which may have duplicated genes and eliminate any duplicated genes
by replacing duplicates with genes which were left out of the chromosome (that is they exist
in the gene space but not in the given chromosome).