ECF 1.7
GEPChromosomeMutOp.h
1#ifndef GEPCHROMOSOMEMUTOP_H
2#define GEPCHROMOSOMEMUTOP_H
3#include "../ECF_base.h"
4#include "GEPChromosome.h"
5
6namespace GEP{
12 class GEPChromosomeMutOp : public MutationOp
13 {
14 public:
15 void registerParameters(StateP state);
16 bool initialize(StateP state);
17 bool mutate(GenotypeP gene);
18 };
19}
20typedef std::shared_ptr<GEP::GEPChromosomeMutOp> GEPChromosomeMutOpP;
21#endif // GEPChromosomeMutOp_h
GEPChromosome genotype: node replacement mutation operator. Tries to replace the selected primitive w...
void registerParameters(StateP state)
Register parameters with the system. Called before MutationOp::initialize.
bool initialize(StateP state)
Initialize mutation operator. Called before first mutation operation.
bool mutate(GenotypeP gene)
Performs mutation of a genotype object. The genotype object must be initialized!