Public Member Functions

FloatingPoint::FloatingPointMutSimple Class Reference

FloatingPoint genotype: simple mutation where each element has exactly equal chance of mutation. Mutated element is random value from the given domain. More...

#include <FloatingPointMutSimple.h>

Inheritance diagram for FloatingPoint::FloatingPointMutSimple:
MutationOp

List of all members.

Public Member Functions

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

Detailed Description

FloatingPoint genotype: simple mutation where each element has exactly equal chance of mutation. Mutated element is random value from the given domain.

Definition at line 14 of file FloatingPointMutSimple.h.


Member Function Documentation

bool FloatingPoint::FloatingPointMutSimple::initialize ( StateP   )  [virtual]

Initialize mutation operator. Called before first mutation operation.

Reimplemented from MutationOp.

Definition at line 14 of file FloatingPointMutSimple.cpp.

bool FloatingPoint::FloatingPointMutSimple::mutate ( GenotypeP   )  [virtual]

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

Implements MutationOp.

Definition at line 22 of file FloatingPointMutSimple.cpp.

void FloatingPoint::FloatingPointMutSimple::registerParameters ( StateP   )  [virtual]

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

Reimplemented from MutationOp.

Definition at line 9 of file FloatingPointMutSimple.cpp.


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