Public Member Functions

Tree::TreeMutHoist Class Reference

Tree genotype: mutation operator that replaces original tree with a randomly chosen subtree from the original tree. More...

#include <TreeMutHoist.h>

Inheritance diagram for Tree::TreeMutHoist:
MutationOp

List of all members.

Public Member Functions

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

Detailed Description

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.


Member Function Documentation

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.


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