public interface Crossover
It's the interface of crossover. To introduce a new crossover model, you only have to implement this interface.
Modifier and Type | Method and Description |
---|---|
void |
makeCrossover(Classifier parent1,
Classifier parent2,
Classifier child1,
Classifier child2)
Makes the crossover.
|
void makeCrossover(Classifier parent1, Classifier parent2, Classifier child1, Classifier child2)
Makes the crossover. It generates two childs.
parent1
- is the first parent.
parent2
- is the second parent
child1
- is the first child
child2
- is the second child.