ECF 1.7
GEP::GEPChromosomeMutOp Class Reference

GEPChromosome genotype: node replacement mutation operator. Tries to replace the selected primitive with a different one, conforming to the restrictions of the domain where it is located. More...

#include <GEPChromosomeMutOp.h>

Inheritance diagram for GEP::GEPChromosomeMutOp:
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!

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: node replacement mutation operator. Tries to replace the selected primitive with a different one, conforming to the restrictions of the domain where it is located.

Definition at line 12 of file GEPChromosomeMutOp.h.

Member Function Documentation

◆ initialize()

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

Initialize mutation operator. Called before first mutation operation.

Reimplemented from MutationOp.

Definition at line 10 of file GEPChromosomeMutOp.cpp.

◆ mutate()

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

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

Implements MutationOp.

Definition at line 17 of file GEPChromosomeMutOp.cpp.

◆ registerParameters()

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

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

Reimplemented from MutationOp.

Definition at line 4 of file GEPChromosomeMutOp.cpp.


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