|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectes.udc.gii.common.eaf.plugin.parameter.Parameter
es.udc.gii.common.eaf.plugin.parameter.jade.JADECRAdaptiveParameter
public class JADECRAdaptiveParameter
JADE is a differential evolution version which updates control parameters in an adaptive maner. This class implements the adaptive strategy of the CR parameter. At each generation g, the crossover probability CRi of each individual xi is independently generated according to a normal distribution of mean µCR and standard deviation 0.1 and then truncated to [0, 1].
The mean µCR is initialized to be 0.5 and then updated with the CRi values of the successful individuals, i.e, these that survive their parents, as:
µCR = (1 - c)⋅µCR + c⋅meanA(SCR)
Where c is a positive constant between 0 and 1, meanA(⋅) is the usual arithmetic mean and SCR is the set of successful individuals.
To configure this parameter the xml code should be:
<Parameter>
<Class>eaf.plugin.parameter.JADECRAdaptiveParameter</Class>
<mu>value</mu>
<std_cr>value</std_cr>
<c>value</c>
</Parameter>
where, Parameter is the name of the parameter which is indicated in the Class where it is used,
Class is a mandatory tag and value should be change to the specific value which the
user wants to use. If some of the parameters (mu, std_cr or c) are not indicated its value is set to
their default values.Default values:
Field Summary | |
---|---|
private int |
alg_generation
|
private double |
c
|
private double |
mu_cr
|
private double |
std_cr
|
Constructor Summary | |
---|---|
JADECRAdaptiveParameter()
|
Method Summary | |
---|---|
void |
configure(org.apache.commons.configuration.Configuration conf)
Configures the specific element that implements this method. |
double |
get(EvolutionaryAlgorithm algorithm)
|
double |
getC()
|
double |
getMu_cr()
|
double |
getStd_cr()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private double c
private double mu_cr
private double std_cr
private int alg_generation
Constructor Detail |
---|
public JADECRAdaptiveParameter()
Method Detail |
---|
public double get(EvolutionaryAlgorithm algorithm)
get
in class Parameter
public void configure(org.apache.commons.configuration.Configuration conf)
Configurable
conf
- a Configuration object.Configuration
public double getC()
public double getMu_cr()
public double getStd_cr()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |