Package dealib.components.crossovers
Class ExponentialCrossover
java.lang.Object
dealib.components.crossovers.ExponentialCrossover
- All Implemented Interfaces:
Crossover
ExponentialCrossover is a class implementing a exponential scheme for
crossover step over the interface Crossover.
- Since:
- 1.0
- Version:
- 1.0
- Author:
- Alicia Vazquez Ramos
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncrossIndividuals
(Population p, Individual X, Individual V, Individual... individuals) Executes exp crossover scheme over the target/current individual, X and the mutant individual V.toString()
Gets a string representing the visualization by console of the Crossover.
-
Constructor Details
-
ExponentialCrossover
Constructor.- Parameters:
exe
- Configurarion of the current execution.
-
-
Method Details
-
crossIndividuals
public Individual crossIndividuals(Population p, Individual X, Individual V, Individual... individuals) Executes exp crossover scheme over the target/current individual, X and the mutant individual V.- Specified by:
crossIndividuals
in interfaceCrossover
- Parameters:
p
- current population.X
- the target/current individual.V
- the mutant individual.individuals
- some possible auxiliary individuals, not used in this scheme.- Returns:
- the trial individual, U.
-
toString
Gets a string representing the visualization by console of the Crossover.
-