Package dealib.components.mutators
Class jDELSMutator
java.lang.Object
dealib.components.mutators.jDELSMutator
- All Implemented Interfaces:
Mutator
jDELSMutator is a class implementing DE/local-search 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/local-search over the target/current individual, X.toString()
Gets a string representing the visualization by console of the Mutator.
-
Constructor Details
-
jDELSMutator
Constructor.- Parameters:
exp
- Configurarion of the current execution.
-
-
Method Details
-
mutateIndividual
public Individual mutateIndividual(Population p, Individual X, Individual... individuals) throws IncompatibleConfigurationException Executes DE/local-search over the target/current individual, X.- Specified by:
mutateIndividual
in interfaceMutator
- Parameters:
p
- current population.X
- the target/current individual.individuals
- position 0 represents an individual coding the LSR vector as the search range.- Returns:
- mutant vector, V.
- Throws:
IncompatibleConfigurationException
- when the length of the individuals array is incompatible with the operation which is going to be performed. In this case, needs an Individual representing LSR vector.
-
toString
Gets a string representing the visualization by console of the Mutator.
-