diff --git a/CMakeLists.txt b/CMakeLists.txt index 484f30d..2dd503d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,5 +1,5 @@ cmake_minimum_required(VERSION 3.25) -project(blt-gp VERSION 0.1.8) +project(blt-gp VERSION 0.1.9) include(CTest) diff --git a/examples/symbolic_regression.cpp b/examples/symbolic_regression.cpp index bf75a7e..c19c00b 100644 --- a/examples/symbolic_regression.cpp +++ b/examples/symbolic_regression.cpp @@ -31,6 +31,8 @@ struct context std::array fitness_cases; +blt::gp::mutation_t mut; + blt::gp::prog_config_t config = blt::gp::prog_config_t() .set_initial_min_tree_size(2) .set_initial_max_tree_size(6) @@ -39,7 +41,7 @@ blt::gp::prog_config_t config = blt::gp::prog_config_t() .set_mutation_chance(0.1) .set_reproduction_chance(0) .set_max_generations(50) - .set_pop_size(50000) + .set_pop_size(5000) .set_thread_count(0); blt::gp::type_provider type_system;