|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectes.udc.gii.common.eaf.algorithm.operator.reproduction.mutation.de.crossover.CrossOverScheme
es.udc.gii.common.eaf.algorithm.operator.reproduction.mutation.de.crossover.BinCrossOverScheme
public class BinCrossOverScheme
This class represents a specific implementation of a CrossOverScheme. Specifically, this class implements the binomial crossover scheme.
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).
To use this specific cross over 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.BinCrossOverScheme</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:
Constructor Summary | |
---|---|
BinCrossOverScheme()
Creates a new instance of BinCrossOverScheme |
|
BinCrossOverScheme(Parameter CR)
|
Method Summary | |
---|---|
Individual |
crossOver(EvolutionaryAlgorithm ea,
Individual target,
Individual v)
|
Methods inherited from class es.udc.gii.common.eaf.algorithm.operator.reproduction.mutation.de.crossover.CrossOverScheme |
---|
configure, getCRPlugin, setCRPlugin |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BinCrossOverScheme()
public BinCrossOverScheme(Parameter CR)
Method Detail |
---|
public Individual crossOver(EvolutionaryAlgorithm ea, Individual target, Individual v)
crossOver
in class CrossOverScheme
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |