ECF 1.7
Permutation::PermutationMutToggle Class Reference

Permutation genotype: toggle mutation operator (see e.g. http://dx.doi.org/10.1016/j.amc.2007.10.013). More...

#include <PermutationMutToggle.h>

Inheritance diagram for Permutation::PermutationMutToggle:
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.

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

Permutation genotype: toggle mutation operator (see e.g. http://dx.doi.org/10.1016/j.amc.2007.10.013).

Definition at line 12 of file PermutationMutToggle.h.

Member Function Documentation

◆ initialize()

bool Permutation::PermutationMutToggle::initialize ( StateP state)
virtual

Initialize mutation operator. Called before first mutation operation.

Reimplemented from MutationOp.

Definition at line 14 of file PermutationMutToggle.cpp.

◆ mutate()

bool Permutation::PermutationMutToggle::mutate ( GenotypeP gene)
virtual

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

Implements MutationOp.

Definition at line 22 of file PermutationMutToggle.cpp.

◆ registerParameters()

void Permutation::PermutationMutToggle::registerParameters ( StateP state)
virtual

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

Reimplemented from MutationOp.

Definition at line 8 of file PermutationMutToggle.cpp.


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