jmetal.operators.crossover
Class DifferentialEvolutionCrossover

java.lang.Object
  extended by jmetal.core.Operator
      extended by jmetal.operators.crossover.Crossover
          extended by jmetal.operators.crossover.DifferentialEvolutionCrossover
All Implemented Interfaces:
java.io.Serializable

public class DifferentialEvolutionCrossover
extends Crossover

Differential evolution crossover operators Comments: - The operator receives two parameters: the current individual and an array of three parent individuals - The best and rand variants depends on the third parent, according whether it represents the current of the "best" individual or a randon one. The implementation of both variants are the same, due to that the parent selection is external to the crossover operator. - Implemented variants: - rand/1/bin (best/1/bin) - rand/1/exp (best/1/exp) - current-to-rand/1 (current-to-best/1) - current-to-rand/1/bin (current-to-best/1/bin) - current-to-rand/1/exp (current-to-best/1/exp)

See Also:
Serialized Form

Field Summary
 
Fields inherited from class jmetal.core.Operator
parameters_
 
Constructor Summary
DifferentialEvolutionCrossover(java.util.HashMap<java.lang.String,java.lang.Object> parameters)
          Constructor
 
Method Summary
 java.lang.Object execute(java.lang.Object object)
          Executes the operation
 
Methods inherited from class jmetal.core.Operator
getParameter, setParameter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DifferentialEvolutionCrossover

public DifferentialEvolutionCrossover(java.util.HashMap<java.lang.String,java.lang.Object> parameters)
Constructor

Method Detail

execute

public java.lang.Object execute(java.lang.Object object)
                         throws JMException
Executes the operation

Specified by:
execute in class Operator
Parameters:
object - An object containing an array of three parents
Returns:
An object containing the offSprings
Throws:
JMException