Binary genotype: simple (bit-flip) mutation operator. More...
#include <BinaryMutSimple.h>
Public Member Functions | |
| bool | mutate (GenotypeP gene) |
| bool | initialize (StateP) |
| void | registerParameters (StateP) |
Protected Attributes | |
| double | bitProb_ |
| bool | bUseBitProb_ |
Binary genotype: simple (bit-flip) mutation operator.
Definition at line 12 of file BinaryMutSimple.h.
| 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.
1.7.1