Tree genotype: complement node mutation operator. For the operator to succeed, the chosen primitive must have a defined complement. More...
#include <TreeMutNodeComplement.h>
Public Member Functions | |
| bool | mutate (GenotypeP gene) |
| bool | initialize (StateP) |
| void | registerParameters (StateP) |
Tree genotype: complement node mutation operator. For the operator to succeed, the chosen primitive must have a defined complement.
Definition at line 12 of file TreeMutNodeComplement.h.
| bool Tree::TreeMutNodeComplement::initialize | ( | StateP | ) | [virtual] |
Initialize mutation operator. Called before first mutation operation.
Reimplemented from MutationOp.
Definition at line 16 of file TreeMutNodeComplement.cpp.
| bool Tree::TreeMutNodeComplement::mutate | ( | GenotypeP | ) | [virtual] |
Performs mutation of a genotype object. The genotype object must be initialized!
Implements MutationOp.
Definition at line 24 of file TreeMutNodeComplement.cpp.
| void Tree::TreeMutNodeComplement::registerParameters | ( | StateP | ) | [virtual] |
Register parameters with the system. Called before MutationOp::initialize.
Reimplemented from MutationOp.
Definition at line 10 of file TreeMutNodeComplement.cpp.
1.7.1