extract_population {cmaes} | R Documentation |
Extract the iter-th population...
Description
Extract the iter
-th population
Usage
extract_population(res, iter)
Arguments
res |
A |
iter |
Which population to return. |
Details
Return the population of the iter
-th iteration of the
CMA-ES algorithm. For this to work, the populations must be saved
in the result object. This is achieved by setting
diag.pop=TRUE
in the control
list. Function values
are included in the result if present in the result object.
Value
A list containing the population as the par
element
and possibly the function values in value
if they are
present in the result object.
[Package cmaes version 1.0-12 Index]