ECF 1.5
CartesianMutOnePoint.h
1#ifndef CartesianMutOnePoint_h
2#define CartesianMutOnePoint_h
3
4#include "../ECF_base.h"
5#include "Cartesian.h"
6
7namespace cart {
12{
13protected:
14 double mutProb_;
15 bool useMutProb_;
16
17 void mutOneValue(Cartesian* mut, int mutPoint);
18
19public:
25 bool mutate(GenotypeP gene);
26 bool initialize(StateP);
27 void registerParameters(StateP);
28};
29typedef boost::shared_ptr<CartesianMutOnePoint> CartesianMutOnePointP;
30
31}
32
33#endif /* CartesianMutOnePoint_h */
MutationOp base class.
Definition: Mutation.h:17
Cartesian genotype: one point mutation operator.
void registerParameters(StateP)
Register parameters with the system. Called before MutationOp::initialize.
bool initialize(StateP)
Initialize mutation operator. Called before first mutation operation.