ECF 1.7
IntGenotype::IntGenotypeMutOp Class Reference

IntGenotype genotype: single-point mutation operator. More...

#include <IntGenotypeMutOp.h>

Inheritance diagram for IntGenotype::IntGenotypeMutOp:
MutationOp

Public Member Functions

bool mutate (GenotypeP gene)
 Performs mutation of a genotype object. The genotype object must be initialized!
Public Member Functions inherited from MutationOp
virtual bool initialize (StateP)
 Initialize mutation operator. Called before first mutation operation.
virtual 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

IntGenotype genotype: single-point mutation operator.

Definition at line 11 of file IntGenotypeMutOp.h.

Member Function Documentation

◆ mutate()

bool IntGenotype::IntGenotypeMutOp::mutate ( GenotypeP gene)
virtual

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

Implements MutationOp.

Definition at line 8 of file IntGenotypeMutOp.cpp.


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