es.udc.gii.common.eaf.algorithm.operator.reproduction.mutation.de.mutationStrategy
Class BestDEMutationStrategy

java.lang.Object
  extended by es.udc.gii.common.eaf.algorithm.operator.reproduction.mutation.de.mutationStrategy.DEMutationStrategy
      extended by es.udc.gii.common.eaf.algorithm.operator.reproduction.mutation.de.mutationStrategy.BestDEMutationStrategy

public class BestDEMutationStrategy
extends DEMutationStrategy

The mutation operator of the Differential Evolution Algorithm use different mutation strategies to create the individuals of the population. This class implements the best strategy. Following this strategy a new mutation vector is generated as follows:

vi,g = xbest,g + F⋅(xr1,g - xr2,g)

where best is the index of the best individual of the population and r1 and r2 are distinct integers uniformely chosen from from the set {1, 2, …, NP} and F is the mutation factor which is implemented as a Plugin. In the canonical version F is a constant double value. To configure this mutation strategy the xml code should be:

 <MutationStrategy>
      <Class>es.udc.gii.common.eaf.algorithm.operator.reproduction.mutation.de.mutationStrategy.BestDEMutationStrategy</Class>
      <F>value</F>
      <diffVector>value</diffVector>
 <MutationStrategy>
 
 
where F and diffVector are parameters inherit from the DEMutationStrategy class. If some of the parameters do not appear in the configuration, they are set to their default values.

Default values:

Since:
1.0
Author:
Grupo Integrado de IngenierĂ­a (www.gii.udc.es)

Constructor Summary
BestDEMutationStrategy()
           
 
Method Summary
 void configure(org.apache.commons.configuration.Configuration conf)
           
 Individual getMutatedIndividual(EvolutionaryAlgorithm algorithm, Individual target)
           
 
Methods inherited from class es.udc.gii.common.eaf.algorithm.operator.reproduction.mutation.de.mutationStrategy.DEMutationStrategy
getDiffVector, getFPlugin
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BestDEMutationStrategy

public BestDEMutationStrategy()
Method Detail

configure

public void configure(org.apache.commons.configuration.Configuration conf)
Overrides:
configure in class DEMutationStrategy

getMutatedIndividual

public Individual getMutatedIndividual(EvolutionaryAlgorithm algorithm,
                                       Individual target)
Specified by:
getMutatedIndividual in class DEMutationStrategy