|
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 | |
| template<Brush::ProgramType T> | |
| static auto | mutate (Program< T > &program, Iter spot, Variation< T > &variator, const Parameters ¶ms) |
Static Public Member Functions inherited from Brush::Var::MutationBase | |
| template<Brush::ProgramType T> | |
| static auto | find_spots (Program< T > &program, Variation< T > &variator, const Parameters ¶ms) |
| template<Brush::ProgramType T> | |
| static auto | mutate (Program< T > &program, Iter spot, Variation< T > &variator, 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 141 of file variation.cpp.
|
inlinestatic |
Definition at line 145 of file variation.cpp.

