ECF 1.5
TreeMutNodeReplace.h
1#ifndef TreeMutNodeReplace_h
2#define TreeMutNodeReplace_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<TreeMutNodeReplace> TreeMutNodeReplaceP;
21}
22#endif // TreeMutNodeReplace_h
MutationOp base class.
Definition: Mutation.h:17
Tree genotype: node replacement mutation operator. Tries to replace the selected primitive with a dif...
void registerParameters(StateP)
Register parameters with the system. Called before MutationOp::initialize.
bool initialize(StateP)
Initialize mutation operator. Called before first mutation operation.
bool mutate(GenotypeP gene)
Performs mutation of a genotype object. The genotype object must be initialized!