extract_population: Extract the iter-th population...

Description Usage Arguments Details Value

View source: R/cmaes.R

Description

Extract the iter-th population

Usage

1
extract_population(res, iter)

Arguments

res

A cma_es result object.

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.


cmaes documentation built on May 29, 2017, 8 p.m.