ECF 1.5
BinaryMutSimple.h
1#ifndef BINARYMUTSIMPLE_H_
2#define BINARYMUTSIMPLE_H_
3
4
5namespace Binary
6{
7
13{
14protected:
15 double bitProb_;
16 bool bUseBitProb_;
17
18public:
19 bool mutate(GenotypeP gene);
20 bool initialize(StateP);
21 void registerParameters(StateP);
22};
23typedef boost::shared_ptr<BinaryMutSimple> BinaryMutSimpleP;
24}
25
26#endif /* BINARYMUTSIMPLE_H_ */
27
Binary genotype: simple (bit-flip) mutation operator.
bool initialize(StateP)
Initialize mutation operator. Called before first mutation operation.
void registerParameters(StateP)
Register parameters with the system. Called before MutationOp::initialize.
bool mutate(GenotypeP gene)
Performs mutation of a genotype object. The genotype object must be initialized!
MutationOp base class.
Definition: Mutation.h:17