public interface CrossoverPolicy
Modifier and Type | Method and Description |
---|---|
ChromosomePair |
crossover(Chromosome first,
Chromosome second)
Perform a crossover operation on the given chromosomes.
|
ChromosomePair crossover(Chromosome first, Chromosome second) throws MathIllegalArgumentException
first
- the first chromosome.second
- the second chromosome.MathIllegalArgumentException
- if the given chromosomes are not compatible with this CrossoverPolicy
Copyright © 2016 Hipparchus.org. All rights reserved.