ECF 1.5
MutFunction.h
1#ifndef ECF_CARTESIAN_MUTFUNCTION_H
2#define ECF_CARTESIAN_MUTFUNCTION_H
3#include <ECF_base.h>
4namespace cartesian{
6 {
7 public:
8 void registerParameters(StateP state);
9 bool initialize(StateP state);
10 bool mutate(GenotypeP gene);
11 };
12 typedef boost::shared_ptr<MutateFunction> MutateFunctionNonSilentP ;
13}
14#endif //ECF_CARTESIAN_MUTFUNCTION_H
MutationOp base class.
Definition: Mutation.h:17
bool initialize(StateP state)
Initialize mutation operator. Called before first mutation operation.
Definition: MutFunction.cpp:11
bool mutate(GenotypeP gene)
Performs mutation of a genotype object. The genotype object must be initialized!
Definition: MutFunction.cpp:18
void registerParameters(StateP state)
Register parameters with the system. Called before MutationOp::initialize.
Definition: MutFunction.cpp:6