ECF 1.7
Tree::TreeMutGauss Class Reference

Tree genotype: standard normal distribution noise mutation operator. Applicable only on ephemereal random constants (ERC) of type 'double'. More...

#include <TreeMutGauss.h>

Inheritance diagram for Tree::TreeMutGauss:
MutationOp

Public Member Functions

bool mutate (GenotypeP gene)
 Performs mutation of a genotype object. The genotype object must be initialized!
bool initialize (StateP)
 Initialize mutation operator. Called before first mutation operation.
void registerParameters (StateP)
 Register parameters with the system. Called before MutationOp::initialize.

Protected Attributes

std::mt19937 engine_

Additional Inherited Members

Public Attributes inherited from MutationOp
StateP state_
double probability_
 probability of usage of this mutation operator
GenotypeP myGenotype_
 pointer to the Genotype that defines this MutationOp

Detailed Description

Tree genotype: standard normal distribution noise mutation operator. Applicable only on ephemereal random constants (ERC) of type 'double'.

Definition at line 16 of file TreeMutGauss.h.

Member Function Documentation

◆ initialize()

bool Tree::TreeMutGauss::initialize ( StateP state)
virtual

Initialize mutation operator. Called before first mutation operation.

Reimplemented from MutationOp.

Definition at line 17 of file TreeMutGauss.cpp.

◆ mutate()

bool Tree::TreeMutGauss::mutate ( GenotypeP gene)
virtual

Performs mutation of a genotype object. The genotype object must be initialized!

Implements MutationOp.

Definition at line 30 of file TreeMutGauss.cpp.

◆ registerParameters()

void Tree::TreeMutGauss::registerParameters ( StateP state)
virtual

Register parameters with the system. Called before MutationOp::initialize.

Reimplemented from MutationOp.

Definition at line 11 of file TreeMutGauss.cpp.

Member Data Documentation

◆ engine_

std::mt19937 Tree::TreeMutGauss::engine_
protected

Definition at line 25 of file TreeMutGauss.h.


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