Skip to content
Snippets Groups Projects
Commit a90557a0 authored by Erik Strand's avatar Erik Strand
Browse files

Enable changing dim and pop size in CMA-ES

parent f5d0f7b0
Branches
Tags
No related merge requests found
......@@ -25,6 +25,11 @@ public:
uint32_t n_evaluations() const { return n_evaluations_; }
uint32_t n_iterations() const { return n_iterations_; }
uint32_t dim() const { return dim_; }
uint32_t& dim() { return dim_; }
uint32_t pop_size() const { return pop_size_; }
uint32_t& pop_size() { return pop_size_; }
template <typename Objective>
VectorXs optimize(
Objective& objective,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment