es.udc.gii.common.eaf.algorithm.operator.reproduction.mutation.de.crossover.jade
Class JADEBinCrossOverScheme

java.lang.Object
  extended by es.udc.gii.common.eaf.algorithm.operator.reproduction.mutation.de.crossover.CrossOverScheme
      extended by es.udc.gii.common.eaf.algorithm.operator.reproduction.mutation.de.crossover.BinCrossOverScheme
          extended by es.udc.gii.common.eaf.algorithm.operator.reproduction.mutation.de.crossover.jade.JADEBinCrossOverScheme
All Implemented Interfaces:
Configurable

public class JADEBinCrossOverScheme
extends BinCrossOverScheme

This class represents a specific implementation of a CrossOverScheme. Specifically, this class implements the binomial crossover scheme for the JADE algorithm.

The binomial crossover constructs the trial vector by taking, in a random manner, elements either from the mutant vector or from the current element, as we describe here:

zij is equal to vij (the trial vector), if Ui < CR or j = k, where Ui is a random value. Otherwise, zij is equal to xij (the target vector).

The difference between the JADEBinCrossOverScheme and the BinCrossOverScheme is that the first one uses a JADEIndividual and after the execution of the opterator sets the values of the F and CR individual parameters. And by default the CR plugin used in this operator is the JADECRAdaptiveParameter.

To use this specific crossover scheme, the xml configuration code should have the configuration of the CR parameter. So the xml code should be like this:

 <CrossOverScheme>
      <Class>es.udc.gii.common.eaf.algorithm.operator.reproduction.mutation.de.crossover.jade.JADEBinCrossOverScheme</Class>
      <CR>value</CR>
      ...
 <CrossOverScheme>
 
 
where the tag CR indicates the plugin used. 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)
See Also:
JADEIndividual, JADECRAdaptiveParameter

Constructor Summary
JADEBinCrossOverScheme()
          Creates a new instance of JADEBinCrossOverScheme
JADEBinCrossOverScheme(Parameter CR)
           
 
Method Summary
 void configure(org.apache.commons.configuration.Configuration conf)
          Configures the specific element that implements this method.
 Individual crossOver(EvolutionaryAlgorithm ea, Individual target, Individual v)
           
 
Methods inherited from class es.udc.gii.common.eaf.algorithm.operator.reproduction.mutation.de.crossover.CrossOverScheme
getCRPlugin, setCRPlugin
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JADEBinCrossOverScheme

public JADEBinCrossOverScheme()
Creates a new instance of JADEBinCrossOverScheme


JADEBinCrossOverScheme

public JADEBinCrossOverScheme(Parameter CR)
Method Detail

configure

public void configure(org.apache.commons.configuration.Configuration conf)
Description copied from interface: Configurable
Configures the specific element that implements this method.

Specified by:
configure in interface Configurable
Overrides:
configure in class CrossOverScheme
Parameters:
conf - a Configuration object.
See Also:
Configuration

crossOver

public Individual crossOver(EvolutionaryAlgorithm ea,
                            Individual target,
                            Individual v)
Overrides:
crossOver in class BinCrossOverScheme