Package dealib.components.mutators
Class CurrentToBest1Mutator
java.lang.Object
dealib.components.mutators.CurrentToBest1Mutator
- All Implemented Interfaces:
Mutator
CurrentToBest1Mutator is a class implementing DE/current-to-best/1 mutation
scheme over the interface Mutator.
- Since:
- 1.0
- Version:
- 1.0
- Author:
- Alicia Vazquez Ramos
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionmutateIndividual(Population p, Individual X, Individual... individuals) Executes DE/current-to-best/1 over the target/current individual, X.toString()Gets a string representing the visualization by console of the Mutator.
-
Constructor Details
-
CurrentToBest1Mutator
Constructor.- Parameters:
exe- Configurarion of the current execution.
-
-
Method Details
-
mutateIndividual
Executes DE/current-to-best/1 over the target/current individual, X.- Specified by:
mutateIndividualin interfaceMutator- Parameters:
p- current population.X- the target/current individual.individuals- some possible auxiliary individuals, not used in this scheme.- Returns:
- mutant vector, V.
-
toString
Gets a string representing the visualization by console of the Mutator.
-