Class jDELSMutator

java.lang.Object
dealib.components.mutators.jDELSMutator
All Implemented Interfaces:
Mutator

public class jDELSMutator extends Object implements 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 Details

    • jDELSMutator

      public jDELSMutator(Execution exp)
      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 interface Mutator
      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

      public String toString()
      Gets a string representing the visualization by console of the Mutator.
      Overrides:
      toString in class Object
      Returns:
      the name of the Mutator.