public interface Chromosome extends Comparable<Chromosome>
| Modifier and Type | Method and Description |
|---|---|
Chromosome |
crossover(Chromosome that)
Construct a
Chromosome by crossing over a pair of chromosomes. |
double |
fitness()
This is the fitness to determine how good this chromosome is.
|
Chromosome |
mutate()
Construct a
Chromosome by mutation. |
compareTodouble fitness()
Chromosome mutate()
Chromosome by mutation.Chromosome crossover(Chromosome that)
Chromosome by crossing over a pair of chromosomes.that - another chromosomeCopyright © 2010-2020 NM FinTech Ltd.. All Rights Reserved.