Tree genotype: mutation operator that shrinks randomly chosen subtree. More...
#include <TreeMutShrink.h>
Public Member Functions | |
| bool | mutate (GenotypeP gene) |
| bool | initialize (StateP) |
| void | registerParameters (StateP) |
Tree genotype: mutation operator that shrinks randomly chosen subtree.
Definition at line 11 of file TreeMutShrink.h.
| bool Tree::TreeMutShrink::initialize | ( | StateP | ) | [virtual] |
Initialize mutation operator. Called before first mutation operation.
Reimplemented from MutationOp.
Definition at line 16 of file TreeMutShrink.cpp.
| bool Tree::TreeMutShrink::mutate | ( | GenotypeP | ) | [virtual] |
Performs mutation of a genotype object. The genotype object must be initialized!
Implements MutationOp.
Definition at line 24 of file TreeMutShrink.cpp.
| void Tree::TreeMutShrink::registerParameters | ( | StateP | ) | [virtual] |
Register parameters with the system. Called before MutationOp::initialize.
Reimplemented from MutationOp.
Definition at line 10 of file TreeMutShrink.cpp.
1.7.1