Package dealib.components.mutators
Class RandToCurrent1Mutator
java.lang.Object
dealib.components.mutators.RandToCurrent1Mutator
- All Implemented Interfaces:
Mutator
RandToCurrent1Mutator is a class implementing DE/rand-to-current/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/rand-to-current/1 over the target/current individual, X.toString()
Gets a string representing the visualization by console of the Mutator.
-
Constructor Details
-
RandToCurrent1Mutator
Constructor.- Parameters:
exe
- Configurarion of the current execution.
-
-
Method Details
-
mutateIndividual
Executes DE/rand-to-current/1 over the target/current individual, X.- Specified by:
mutateIndividual
in 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.
-