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 © 2003–2016 The Apache Software Foundation. All rights reserved.