Package dealib.components.crossovers
Interface Crossover
- All Known Implementing Classes:
ArithmeticCrossover
,BinomialCrossover
,ExponentialCrossover
public interface Crossover
Crossover is an interface representing the basic scheme of a crossover
operator in differential evolution.
- Since:
- 1.0
- Version:
- 1.0
- Author:
- Alicia Vazquez Ramos
-
Method Summary
Modifier and TypeMethodDescriptioncrossIndividuals
(Population p, Individual X, Individual V, Individual... individuals) Executes a specific crossover scheme.
-
Method Details
-
crossIndividuals
Individual crossIndividuals(Population p, Individual X, Individual V, Individual... individuals) throws IncompatibleConfigurationException Executes a specific crossover scheme.- Parameters:
p
- population of individuals.X
- target/current individual.V
- mutant individual.individuals
- auxiliar individuals needed that cannot be computed from population.- Returns:
- U, the trial individual, without checking the bounds with the IPR.
- Throws:
IncompatibleConfigurationException
- when the length of the individuals array is incompatible with the operation which is going to be performed.
-