Description Usage Arguments Details Value References
Methods for the edaTerminate
generic function.
1 2 3 4 5 | edaTerminateMaxGen(eda, gen, fEvals, pop, popEval)
edaTerminateMaxEvals(eda, gen, fEvals, pop, popEval)
edaTerminateEval(eda, gen, fEvals, pop, popEval)
edaTerminateEvalStdDev(eda, gen, fEvals, pop, popEval)
edaTerminateCombined(...)
|
eda |
|
gen |
Generation. |
fEvals |
Evaluations of the objective function. |
pop |
Matrix with one row for each solution in the population. |
popEval |
Vector with the evaluation of each solution in |
... |
Functions that implement termination methods. |
Termination methods decide when to stop the main loop of the EDA. The following termination methods are implemented.
edaTerminateMaxGen
Stop when a maximum number of generations
has been reached. The parameter maxGen
specifies the number of
generations (default value: 100
). This is the default
method of the edaTerminate
generic function.
edaTerminateMaxEvals
Stop when a maximum number of evaluations
of the objective function has been reached. The parameter maxEvals
specifies the number of evaluations (default value: 1000
.)
edaTerminateEval
Stop when a given value of the objective
function has been reached. The parameters fEval
(default value:
0
) and fEvalTol
(default value: 1e-06
) set the value
of the objective function and the tolerance, respectively.
edaTerminateEvalStdDev
Stop when the standard deviation of
the evaluation of the solutions in the population is less than the value
given by the parameter fEvalStdDev
(default value: 1e-02
)
.
edaTerminateCombined
Evaluate all the termination criteria
specified in ...
and stop if (at least) one of them returns
TRUE
.
A logical
value that indicates if the algorithm should stop.
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/.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.