4#include "BinaryCrsOnePoint.h"
5#include "BinaryCrsTwoPoint.h"
6#include "BinaryMutSimple.h"
7#include "BinaryMutMix.h"
8#include "BinaryCrsUniform.h"
9#include "BinaryCrsHalfUniform.h"
10#include "BinaryCrsReducedSurrogate.h"
11#include "BinaryCrsSegmented.h"
12#include "BinaryCrsShuffle.h"
13#include "BinaryCrsNonGeometric.h"
14#include "BinaryCrsRandomRespectful.h"
15#include "BinaryCrsMasked.h"
17#include "../RealValueGenotype.h"
45 typedef std::vector<bool> v_bool;
48 double logbase(
double a,
double base);
49 double round(
double,
int);
62 bool initialize (StateP state);
64 void registerParameters(StateP state);
77 std::vector<CrossoverOpP> crx;
94 std::vector<MutationOpP> mut;
96 mut.push_back(
static_cast<MutationOpP
> (
new BinaryMutMix));
100 void write(XMLNode& xBinary);
102 void read(XMLNode& xBinary);
106typedef boost::shared_ptr<Binary::Binary> BinaryP;
Binary genotype: non geometric crossover operator.
Binary genotype: one point crossover operator.
Binary genotype: random respectful crossover operator. Described on http://www.tomaszgwiazda....
Binary genotype: reduced surrogate crossover operator.
Binary genotype: segmented crossover operator.
Binary genotype: shuffle crossover operator.
Binary genotype: two point crossover operator.
Binary class - implements genotype as a vector of binary coded real values with variable interval and...
uint nDecimal_
number of digits after the decimal point
std::vector< long int > decValue
integer values of bit representation
std::vector< v_bool > variables
vector of bit vectors
bool bRounding_
use rounding with 'precision' digits on real values in the chromosome
uint nBits_
number of bits for a single dimension
std::vector< MutationOpP > getMutationOp()
Create and return a vector of mutation operators.
std::vector< CrossoverOpP > getCrossoverOp()
Create and return a vector of crossover operators.
v_bool vBool_
temporary bool vector
uint getNumBits()
Return number of bits used in a single dimension in real domain.
Binary * copy()
Create an identical copy of the genotype object.
Binary genotype: mixing mutation operator.
Binary genotype: simple (bit-flip) mutation operator.
RealValueGenotype class - abstract genotype class for genotypes that represent a vector of real value...