ga_metaepoch {hmsr} | R Documentation |
Function that runs one GA metaepoch. Wrapper function for GA::ga.
ga_metaepoch(config_ga)
config_ga |
|
list with named fields: solution, population, value. A solution is a value of the decision variable giving the best fitness. A population is a matrix representing final population. Value is the value of a fitness function for the solution.
tree_height <- 3
empty_config_ga <- lapply(1:tree_height, function(x) {
list()
})
ga_metaepoch(empty_config_ga)