org.apache.commons.math3.genetics
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 (c) 2003-2013 Apache Software Foundation