15 bool mutate(GenotypeP gene);
19typedef boost::shared_ptr<TreeMutShrink> TreeMutShrinkP;
Tree genotype: mutation operator that shrinks randomly chosen subtree.
bool initialize(StateP)
Initialize mutation operator. Called before first mutation operation.
void registerParameters(StateP)
Register parameters with the system. Called before MutationOp::initialize.
bool mutate(GenotypeP gene)
Performs mutation of a genotype object. The genotype object must be initialized!