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>
Public Member Functions | |
| bool | mutate (GenotypeP gene) |
| bool | initialize (StateP) |
| void | registerParameters (StateP) |
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.
| 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.
1.7.1