1#ifndef FLOATINGPOINT_H_
2#define FLOATINGPOINT_H_
4#include "../RealValueGenotype.h"
5#include "FloatingPointMutSimple.h"
6#include "FloatingPointCrsOnePoint.h"
7#include "FloatingPointCrsArithmetic.h"
8#include "FloatingPointCrsDiscrete.h"
9#include "FloatingPointCrsArithmeticSimple.h"
10#include "FloatingPointCrsArithmeticSingle.h"
11#include "FloatingPointCrsAverage.h"
12#include "FloatingPointCrsFlat.h"
13#include "FloatingPointCrsBlx.h"
14#include "FloatingPointCrsHeuristic.h"
15#include "FloatingPointCrsRandom.h"
16#include "FloatingPointCrsSbx.h"
17#include "FloatingPointCrsBga.h"
18#include "FloatingPointCrsLocal.h"
19#include "FloatingPointCrsBlxAlpha.h"
20#include "FloatingPointCrsBlxAlphaBeta.h"
22namespace FloatingPoint
44 { name_=
"FloatingPoint"; }
46 bool initialize (StateP state);
48 void registerParameters(StateP state);
67 std::vector<CrossoverOpP> crx;
88 std::vector<MutationOpP> mut;
93 void write(XMLNode& xFloatingPoint);
94 void read(XMLNode& xFloatingPoint);
98typedef boost::shared_ptr<FloatingPoint::FloatingPoint> FloatingPointP;
FloatingPoint genotype: offspring is defined as a linear combination of two vectors.
FloatingPoint genotype: take recombination point k. Child 1 is parent1 until k, rest is arithmetic av...
FloatingPoint genotype: take random allele k. That point is arithmetic average of parents,...
FloatingPoint genotype: child is average value of parent genes.
FloatingPoint genotype: BGA crossover (http://bib.irb.hr/datoteka/640222.CEC_2013....
FloatingPoint genotype: BLX alpha-beta crossover (http://bib.irb.hr/datoteka/640222....
FloatingPoint genotype: BLX alpha crossover (http://bib.irb.hr/datoteka/640222.CEC_2013....
FloatingPoint genotype: allele value for each gene is either from parent1 or from parent2 with equal ...
FloatingPoint genotype: value on allele i is random value taken from min-max interval from parents.
FloatingPoint genotype: value on allele i smaller gene value + rand value * (greater - smaller value)
FloatingPoint genotype: local crossover (http://bib.irb.hr/datoteka/640222.CEC_2013....
FloatingPoint genotype: one point crossover operator with permissible split points only between dimen...
FloatingPoint genotype: SBX crossover (http://citeseerx.ist.psu.edu/viewdoc/download?...
FloatingPoint class - implements genotype as a vector of floating point values.
double getUBound()
return upper bound of the defined interval
std::vector< MutationOpP > getMutationOp()
Create and return a vector of mutation operators.
double getLBound()
return lower bound of the defined interval
std::vector< CrossoverOpP > getCrossoverOp()
return usable crx operators
FloatingPoint * copy()
Create an identical copy of the genotype object.
FloatingPoint genotype: simple mutation where a single vector element is mutated. New value is random...
RealValueGenotype class - abstract genotype class for genotypes that represent a vector of real value...