2#include <ecf/ECF_base.h>
6#include "IntGenotypeCrxOp.h"
7#include "IntGenotypeMutOp.h"
16 int minValue_, maxValue_;
18 std::vector<int> intValues;
22 name_ =
"IntGenotype";
44 std::vector<CrossoverOpP> crx;
51 std::vector<MutationOpP> mut;
56 void registerParameters(StateP state);
58 bool initialize(StateP state);
60 void write(XMLNode &xIntGenotype);
63 void read(XMLNode& xIntGenotype);
67typedef boost::shared_ptr<IntGenotype::IntGenotype> IntGenotypeP;
double getLBound()
return lower bound of the defined interval
std::vector< MutationOpP > getMutationOp()
Create and return a vector of mutation operators.
IntGenotype * copy()
Create an identical copy of the genotype object.
double getUBound()
return upper bound of the defined interval
std::vector< CrossoverOpP > getCrossoverOp()
Create and return a vector of crossover operators.