ECF 1.5
|
FloatingPoint genotype: simple mutation where a single vector element is mutated. New value is random value from the given domain. More...
#include <FloatingPointMutSimple.h>
Public Member Functions | |
bool | mutate (GenotypeP gene) |
Performs mutation of a genotype object. The genotype object must be initialized! More... | |
bool | initialize (StateP) |
Initialize mutation operator. Called before first mutation operation. More... | |
void | registerParameters (StateP) |
Register parameters with the system. Called before MutationOp::initialize. More... | |
virtual bool | mutate (GenotypeP)=0 |
Performs mutation of a genotype object. The genotype object must be initialized! More... | |
virtual bool | initialize (StateP) |
Initialize mutation operator. Called before first mutation operation. More... | |
virtual void | registerParameters (StateP) |
Register parameters with the system. Called before MutationOp::initialize. More... | |
Additional Inherited Members | |
Public Attributes inherited from MutationOp | |
StateP | state_ |
double | probability_ |
probability of usage of this mutation operator More... | |
GenotypeP | myGenotype_ |
pointer to the Genotype that defines this MutationOp More... | |
FloatingPoint genotype: simple mutation where a single vector element is mutated. New value is random value from the given domain.
Definition at line 12 of file FloatingPointMutSimple.h.
|
virtual |
Initialize mutation operator. Called before first mutation operation.
Reimplemented from MutationOp.
Definition at line 14 of file FloatingPointMutSimple.cpp.
|
virtual |
Performs mutation of a genotype object. The genotype object must be initialized!
Implements MutationOp.
Definition at line 22 of file FloatingPointMutSimple.cpp.
|
virtual |
Register parameters with the system. Called before MutationOp::initialize.
Reimplemented from MutationOp.
Definition at line 9 of file FloatingPointMutSimple.cpp.