ECF 1.5
Public Member Functions | List of all members
GEPChromosome::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 GEPChromosome::GEPChromosomeMutOp:
MutationOp

Public Member Functions

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

Additional Inherited Members

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

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 11 of file GEPChromosomeMutOp.h.

Member Function Documentation

◆ initialize()

bool GEPChromosome::GEPChromosomeMutOp::initialize ( StateP  )
virtual

Initialize mutation operator. Called before first mutation operation.

Reimplemented from MutationOp.

Definition at line 9 of file GEPChromosomeMutOp.cpp.

◆ mutate()

bool GEPChromosome::GEPChromosomeMutOp::mutate ( GenotypeP  )
virtual

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

Implements MutationOp.

Definition at line 16 of file GEPChromosomeMutOp.cpp.

◆ registerParameters()

void GEPChromosome::GEPChromosomeMutOp::registerParameters ( StateP  )
virtual

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

Reimplemented from MutationOp.

Definition at line 3 of file GEPChromosomeMutOp.cpp.


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