Brush C++ API
A flexible interpretable machine learning framework
|
replaces the subtree rooted in spot
More...
Static Public Member Functions | |
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) |
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 |
replaces the subtree rooted in spot
prog | the program |
Tree | the program tree |
spot | an iterator to the node that is being mutated |
SS | the search space to generate a compatible subtree |
Definition at line 252 of file variation.cpp.
|
inlinestatic |
Definition at line 255 of file variation.cpp.
|
inlinestatic |
Definition at line 286 of file variation.cpp.