jmetal.operators.crossover
Class DifferentialEvolutionCrossover
java.lang.Object
jmetal.core.Operator
jmetal.operators.crossover.Crossover
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
Method Summary |
java.lang.Object |
execute(java.lang.Object object)
Executes the operation |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DifferentialEvolutionCrossover
public DifferentialEvolutionCrossover(java.util.HashMap<java.lang.String,java.lang.Object> parameters)
- Constructor
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