diff --git a/CMakeLists.txt b/CMakeLists.txt index 96fbe3f..1e16e55 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -27,7 +27,7 @@ macro(compile_options target_name) sanitizers(${target_name}) endmacro() -project(blt-gp VERSION 0.5.39) +project(blt-gp VERSION 0.5.40) include(CTest) diff --git a/lib/blt b/lib/blt index c30141d..c6a22d6 160000 --- a/lib/blt +++ b/lib/blt @@ -1 +1 @@ -Subproject commit c30141da62aca0aaaae7aafe829a3bc20d4c9da9 +Subproject commit c6a22d60932550d97d327d58766467d3f92db9e8 diff --git a/src/config.cpp b/src/config.cpp index 063ea05..ad1a03d 100644 --- a/src/config.cpp +++ b/src/config.cpp @@ -25,17 +25,17 @@ namespace blt::gp inline void setup_crossover_parser(argparse::argument_parser_t& parser) { parser.add_flag("--max_crossover_tries").set_dest("max_crossover_tries").set_default(5u).as_type().set_help( - "number of times crossover will try to pick a valid point in the tree."); + "Number of times crossover will try to pick a valid point in the tree."); parser.add_flag("--max_crossover_iterations").set_dest("max_crossover_iterations").set_default(10u).as_type().set_help( - "how many times the crossover function can fail before we will skip this operation."); - parser.add_flag("--min_tree_size").set_dest("min_tree_size").set_default(5u).as_type().set_help("the minimum size of" + "How many times the crossover function can fail before we will skip this operation."); + parser.add_flag("--min_tree_size").set_dest("min_tree_size").set_default(5u).as_type().set_help("The minimum size of" " the tree to be considered for crossover."); parser.add_flag("--depth_multiplier").set_dest("depth_multiplier").set_default(0.25f).as_type().set_help( - "at each depth level, what chance do we have to exit with this as our point?"); + "At each depth level, what chance do we have to exit with this as our point?"); parser.add_flag("--terminal_chance").set_dest("terminal_chance").set_default(0.1f).as_type().set_help( - "how often should we select terminals over functions. By default, we only allow selection of terminals 10% of the time. " + "How often should we select terminals over functions. By default, we only allow selection of terminals 10% of the time. " "This applies to both types of crossover point functions. Traversal will use the parent if it should not pick a terminal."); - parser.add_flag("--traverse").set_dest("traverse").make_flag().set_help(" use traversal to select instead of random point selection."); + parser.add_flag("--traverse").set_dest("traverse").make_flag().set_help("Use traversal to select instead of random point selection."); } inline crossover_t::config_t create_crossover_config(const argparse::argument_storage_t& args)