ECF 1.7
IntGenotypeCrxTwoPoint.h
1#include <cmath>
2#include <sstream>
3
4namespace IntGenotype
5{
10 class IntGenotypeCrxTwoPoint : public CrossoverOp
11 {
12 public:
13 bool mate(GenotypeP gen1, GenotypeP gen2, GenotypeP child);
14
15 };
16 typedef std::shared_ptr<IntGenotypeCrxTwoPoint> IntGenotypeCrxTwoPointP;
17
18}
IntGenotype genotype: two-point crossover operator.
bool mate(GenotypeP gen1, GenotypeP gen2, GenotypeP child)