ECF 1.5
TreeMutSubtree.h
1#ifndef TreeMutSubtree_h
2#define TreeMutSubtree_h
3
4
5namespace Tree
6{
7
14{
15public:
16 bool mutate(GenotypeP gene);
17 bool initialize(StateP);
18 void registerParameters(StateP);
19};
20typedef boost::shared_ptr<TreeMutSubtree> TreeMutSubtreeP;
21}
22#endif // TreeMutSubtree_h
MutationOp base class.
Definition: Mutation.h:17
Tree genotype: subtree size-fair mutation operator. This is a 'standard' GP subtree mutation.
bool mutate(GenotypeP gene)
Performs mutation of a genotype object. The genotype object must be initialized!
bool initialize(StateP)
Initialize mutation operator. Called before first mutation operation.
void registerParameters(StateP)
Register parameters with the system. Called before MutationOp::initialize.