Public Member Functions

Tree::TreeMutNodeComplement Class Reference

Tree genotype: complement node mutation operator. For the operator to succeed, the chosen primitive must have a defined complement. More...

#include <TreeMutNodeComplement.h>

Inheritance diagram for Tree::TreeMutNodeComplement:
MutationOp

List of all members.

Public Member Functions

bool mutate (GenotypeP gene)
bool initialize (StateP)
void registerParameters (StateP)

Detailed Description

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.


Member Function Documentation

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.


The documentation for this class was generated from the following files: