Skip to contents

Function that generates run_metaepoch function for two level HMS. First level: DE, second level: CMA-ES.

Usage

deoptim_cma_es_metaepoch(deoptim_cma_es_config)

Arguments

deoptim_cma_es_config
  • list that consists of two lists: DEoptim params and CMA-ES params.

Value

list with named fields: solution, population, value. See ga_metaepoch for more details.

Examples

tree_height <- 2
de_config <- list()
cma_es_config <- list()
config <- list(de_config, cma_es_config)
deoptim_cma_es_metaepoch(config)
#> function (fitness, deme, lower, upper, minimize) 
#> {
#>     if (deme@level == 1) {
#>         run_de_metaepoch(fitness, deme, lower, upper, minimize)
#>     }
#>     else {
#>         run_cma_es_metaepoch(fitness, deme, lower, upper, minimize)
#>     }
#> }
#> <bytecode: 0x5840edbe25c0>
#> <environment: 0x5840edbe19b8>