ECF 1.7
GEPChromosomeMutGauss.h
1#ifndef GEPCHROMOSOMEMUTGAUSS_H
2#define GEPCHROMOSOMEMUTGAUSS_H
3#include "../ECF_base.h"
4#include <time.h>
5#include "GEPChromosome.h"
6//#include "boost/random/lagged_fibonacci.hpp"
7#include <random>
8
9namespace GEP{
15 class GEPChromosomeMutGauss : public MutationOp
16 {
17 public:
18 void registerParameters(StateP state);
19 bool initialize(StateP state);
20 bool mutate(GenotypeP gene);
21 protected:
22 //boost::lagged_fibonacci607 engine_;
23 std::mt19937 engine_;
24 };
25}
26typedef std::shared_ptr<GEP::GEPChromosomeMutGauss> GEPChromosomeMutGaussP;
27#endif // GEPChromosomeMutGauss_h
GEPChromosome genotype: standard normal distribution noise mutation operator. Applicable only on ephe...
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!