ECF 1.7
PermutationMutToggle.h
1#ifndef PERMUTATIONMUTTOGGLE_H_
2#define PERMUTATIONMUTTOGGLE_H_
3
4
5namespace Permutation
6{
7
12class PermutationMutToggle: public MutationOp {
13public:
14 bool mutate(GenotypeP gene);
15 bool initialize(StateP);
16 void registerParameters(StateP);
17};
18typedef std::shared_ptr<PermutationMutToggle> PermutationMutToggleP;
19}
20#endif /* PERMUTATIONMUTTOGGLE_H_ */
Permutation genotype: toggle mutation operator (see e.g. http://dx.doi.org/10.1016/j....
void registerParameters(StateP)
Register parameters with the system. Called before MutationOp::initialize.
bool initialize(StateP)
Initialize mutation operator. Called before first mutation operation.
bool mutate(GenotypeP gene)
Performs mutation of a genotype object. The genotype object must be initialized!