ECF 1.5
TreeMutHoist.h
1#ifndef TreeMutHoist_h
2#define TreeMutHoist_h
3
4
5namespace Tree
6{
7
13{
14public:
15 bool mutate(GenotypeP gene);
16 bool initialize(StateP);
17 void registerParameters(StateP);
18};
19typedef boost::shared_ptr<TreeMutHoist> TreeMutHoistP;
20}
21#endif // TreeMutHoist_h
MutationOp base class.
Definition: Mutation.h:17
Tree genotype: mutation operator that replaces original tree with a randomly chosen subtree from the ...
Definition: TreeMutHoist.h:13
bool mutate(GenotypeP gene)
Performs mutation of a genotype object. The genotype object must be initialized!
void registerParameters(StateP)
Register parameters with the system. Called before MutationOp::initialize.
bool initialize(StateP)
Initialize mutation operator. Called before first mutation operation.