ECF 1.7
GEP::GEPChromosomeMutGauss Class Reference

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

#include <GEPChromosomeMutGauss.h>

Inheritance diagram for GEP::GEPChromosomeMutGauss:
MutationOp

Public Member Functions

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

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

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

Definition at line 15 of file GEPChromosomeMutGauss.h.

Member Function Documentation

◆ initialize()

bool GEP::GEPChromosomeMutGauss::initialize ( StateP state)
virtual

Initialize mutation operator. Called before first mutation operation.

Reimplemented from MutationOp.

Definition at line 9 of file GEPChromosomeMutGauss.cpp.

◆ mutate()

bool GEP::GEPChromosomeMutGauss::mutate ( GenotypeP gene)
virtual

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

Implements MutationOp.

Definition at line 22 of file GEPChromosomeMutGauss.cpp.

◆ registerParameters()

void GEP::GEPChromosomeMutGauss::registerParameters ( StateP state)
virtual

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

Reimplemented from MutationOp.

Definition at line 4 of file GEPChromosomeMutGauss.cpp.

Member Data Documentation

◆ engine_

std::mt19937 GEP::GEPChromosomeMutGauss::engine_
protected

Definition at line 23 of file GEPChromosomeMutGauss.h.


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