ECF 1.7
Cartesian::CartesianMutOnePoint Class Reference

#include <CartesianMutOnePoint.h>

Inheritance diagram for Cartesian::CartesianMutOnePoint:
MutationOp 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.
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.

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

Cartesian genotype: one point mutation operator Mutation point is randomly chosen among all genes in genotype (active or not). Chosen mutation point might be function or output node.

Definition at line 15 of file CartesianMutOnePoint.h.

Member Function Documentation

◆ initialize() [1/2]

bool Cartesian::CartesianMutOnePoint::initialize ( StateP state)
virtual

Initialize mutation operator. Called before first mutation operation.

Reimplemented from MutationOp.

Definition at line 16 of file CartesianMutOnePoint.cpp.

◆ initialize() [2/2]

bool Cartesian::CartesianMutOnePoint::initialize ( StateP )
virtual

Initialize mutation operator. Called before first mutation operation.

Reimplemented from MutationOp.

◆ mutate() [1/2]

bool Cartesian::CartesianMutOnePoint::mutate ( GenotypeP gene)
virtual

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

Implements MutationOp.

Definition at line 24 of file CartesianMutOnePoint.cpp.

◆ mutate() [2/2]

bool Cartesian::CartesianMutOnePoint::mutate ( GenotypeP gene)
virtual

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

Implements MutationOp.

◆ registerParameters() [1/2]

void Cartesian::CartesianMutOnePoint::registerParameters ( StateP state)
virtual

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

Reimplemented from MutationOp.

Definition at line 10 of file CartesianMutOnePoint.cpp.

◆ registerParameters() [2/2]

void Cartesian::CartesianMutOnePoint::registerParameters ( StateP )
virtual

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

Reimplemented from MutationOp.


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