Public Member Functions | Protected Attributes

Binary::BinaryMutSimple Class Reference

Binary genotype: simple (bit-flip) mutation operator. More...

#include <BinaryMutSimple.h>

Inheritance diagram for Binary::BinaryMutSimple:
MutationOp

List of all members.

Public Member Functions

bool mutate (GenotypeP gene)
bool initialize (StateP)
void registerParameters (StateP)

Protected Attributes

double bitProb_
bool bUseBitProb_

Detailed Description

Binary genotype: simple (bit-flip) mutation operator.

Definition at line 12 of file BinaryMutSimple.h.


Member Function Documentation

bool Binary::BinaryMutSimple::initialize ( StateP   )  [virtual]

Initialize mutation operator. Called before first mutation operation.

Reimplemented from MutationOp.

Definition at line 15 of file BinaryMutSimple.cpp.

bool Binary::BinaryMutSimple::mutate ( GenotypeP   )  [virtual]

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

Implements MutationOp.

Definition at line 31 of file BinaryMutSimple.cpp.

void Binary::BinaryMutSimple::registerParameters ( StateP   )  [virtual]

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

Reimplemented from MutationOp.

Definition at line 8 of file BinaryMutSimple.cpp.


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