|
MOEA Framework 2.12 API Specification |
|||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.moeaframework.core.operator.real.DifferentialEvolutionVariation
public class DifferentialEvolutionVariation
Differential evolution (DE) variation operator. Differential evolution works by randomly selecting three distinct individuals from a population. A difference vector is calculated between the first two individuals (shown as the left-most arrow in the figure below), which is subsequently applied to the third individual (shown as the right-most arrow in the figure below).
The scaling factor parameter adjusts the magnitude of the difference vector, allowing the user to decrease or increase the magnitude in relation to the actual difference between the individuals. The crossover rate parameter controls the fraction of decision variables which are modified by the DE operator.
References:
Constructor Summary | |
---|---|
DifferentialEvolutionVariation(double CR,
double F)
Constructs a differential evolution operator with the specified crossover rate and scaling factor. |
Method Summary | |
---|---|
Solution[] |
evolve(Solution[] parents)
Evolves one or more parent solutions (specified by getArity ) and
produces one or more child solutions. |
int |
getArity()
Returns the number of solutions that must be supplied to the evolve method. |
double |
getCrossoverRate()
Returns the crossover rate of this differential evolution operator. |
double |
getScalingFactor()
Returns the scaling factor of this differential evolution operator. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DifferentialEvolutionVariation(double CR, double F)
CR
- the crossover rateF
- the scaling factorMethod Detail |
---|
public double getCrossoverRate()
public double getScalingFactor()
public int getArity()
Variation
evolve
method.
getArity
in interface Variation
evolve
methodpublic Solution[] evolve(Solution[] parents)
Variation
getArity
) and
produces one or more child solutions. By contract, the parents must not
be modified. The copy constructor should be used to create copies of the
parents with these copies subsequently modified.
evolve
in interface Variation
parents
- the array of parent solutions
|
MOEA Framework 2.12 API Specification |
|||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |