ECF 1.5
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/normal_distribution.hpp"
7#include "boost/random/lagged_fibonacci.hpp"
8namespace GEPChromosome{
15 {
16 public:
17 void registerParameters(StateP state);
18 bool initialize(StateP state);
19 bool mutate(GenotypeP gene);
20 protected:
21 boost::lagged_fibonacci607 engine_;
22 };
23}
24typedef boost::shared_ptr<GEPChromosome::GEPChromosomeMutGauss> GEPChromosomeMutGaussP;
25#endif // GEPChromosomeMutGauss_h
GEPChromosome genotype: standard normal distribution noise mutation operator. Applicable only on ephe...
bool mutate(GenotypeP gene)
Performs mutation of a genotype object. The genotype object must be initialized!
bool initialize(StateP state)
Initialize mutation operator. Called before first mutation operation.
void registerParameters(StateP state)
Register parameters with the system. Called before MutationOp::initialize.
MutationOp base class.
Definition: Mutation.h:17