ECF 1.7
BinaryMutMix.h
1#ifndef BINARYMUT_H_
2#define BINARYMUT_H_
3
4
5namespace Binary
6{
7
12class BinaryMutMix: public MutationOp
13{
14public:
15 bool mutate(GenotypeP gene);
16 bool initialize(StateP);
17 void registerParameters(StateP);
18};
19typedef std::shared_ptr<BinaryMutMix> BinaryMutMixP;
20}
21
22#endif /* BINARYMUT_H_ */
23
Binary genotype: mixing 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!