T
- The type of Population
to execute the operation on.public interface Crossover<T extends AbstractMutant>
Crossover that can be passed to the GeneticAlgorithm
to be executed on each generation.
CrossoverDefaultImpl
Modifier and Type | Method and Description |
---|---|
java.util.List<T> |
crossover(T firstMutant,
T secondMutant) |
default java.util.List<T> |
excute(java.util.List<T> mutants) |