Brush C++ API
A flexible interpretable machine learning framework
|
delete subtree and replace it with a terminal of the same return type More...
Static Public Member Functions | |
static auto | mutate (tree< Node > &Tree, Iter spot, const SearchSpace &SS, const Parameters ¶ms) |
Static Public Member Functions inherited from Brush::Var::MutationBase | |
static auto | find_spots (tree< Node > &Tree, const SearchSpace &SS, const Parameters ¶ms) |
static auto | mutate (tree< Node > &Tree, Iter spot, const SearchSpace &SS, const Parameters ¶ms) |
Additional Inherited Members | |
Public Types inherited from Brush::Var::MutationBase | |
using | Iter = tree<Node>::pre_order_iterator |
delete subtree and replace it with a terminal of the same return type
prog | the program |
Tree | the program tree |
spot | an iterator to the node that is being mutated |
SS | the search space to sample a node like spot |
Definition at line 131 of file variation.cpp.
|
inlinestatic |
Definition at line 134 of file variation.cpp.