Function that generates run_metaepoch function for two level HMS. First level: GA, second level: CMA-ES.
Source:R/ga_cma_es_metaepoch.R
ga_cma_es_metaepoch.Rd
Function that generates run_metaepoch function for two level HMS. First level: GA, second level: CMA-ES.
Value
list with named fields: solution, population, value. See
ga_metaepoch
for more details.
Examples
tree_height <- 2
ga_config <- list()
cma_es_config <- list()
config <- list(ga_config, cma_es_config)
ga_cma_es_metaepoch(config)
#> function (fitness, deme, lower, upper, minimize)
#> {
#> if (deme@level == 1) {
#> run_ga_metaepoch(fitness, deme, lower, upper, minimize)
#> }
#> else {
#> run_cma_es_metaepoch(fitness, deme, lower, upper, minimize)
#> }
#> }
#> <bytecode: 0x5840f1c58b70>
#> <environment: 0x5840f1c57f68>