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