Methods for the edaReplace
generic function.
edaReplaceComplete(eda, gen, pop, popEval, sampledPop, sampledEval)
edaReplaceRTR(eda, gen, pop, popEval, sampledPop, sampledEval)
Generation.
Matrix with one row for each solution in the population.
Vector with the evaluation of each solution in pop
.
Matrix with one row for each solution sampled in the current generation.
Vector with the evaluation of the candidate solutions
in sampledPop
.
A list
with the following components.
Matrix with one row for each solution in the new population.
Vector with the evaluation of each solution in pop
.
Replacement methods combine the candidate solutions sampled in the current generation with the candidate solutions from the population of the previous generation. The following replacement methods are implemented.
edaReplaceComplete
The population sampled in the current
generation completely replaces the population of the previous generation.
This is the default method of the edaReplace
generic function.
edaReplaceRTR
Restricted Tournament Replacement is a niching
method that can be used to promote the preservation of alternative candidate
solutions. See (Pelikan 2005) for a pseudocode of the algorithm implemented
here. The parameter windowSize
specifies the window size (default
value: min(ncol(pop), nrow(pop) / 2)
).
Gonzalez-Fernandez Y, Soto M (2014). copulaedas: An R Package for Estimation of Distribution Algorithms Based on Copulas. Journal of Statistical Software, 58(9), 1-34. http://www.jstatsoft.org/v58/i09/.