ECF 1.7
CartesianCrxHalfUniform.h
1#ifndef CartesianCrsHalfUniform_h
2#define CartesianCrsHalfUniform_h
3
4#include "../ECF_base.h"
5
6
7namespace Cartesian {
14 class CartesianCrxHalfUniform: public CrossoverOp
15 {
16 public:
17 bool mate(GenotypeP gen1, GenotypeP gen2, GenotypeP child);
18 bool initialize(StateP);
19 void registerParameters(StateP);
20 };
21 typedef std::shared_ptr<CartesianCrxHalfUniform> CartesianCrxHalfUniformP;
22}
23
24#endif /* CartesianCrsHalfUniform_h */
Cartesian genotype: half uniform crossover operator.
bool initialize(StateP)
Initialize crossover operator. Called before first crossover operation.
bool mate(GenotypeP gen1, GenotypeP gen2, GenotypeP child)
void registerParameters(StateP)
Register parameters with the system. Called before CrossoverOp::initialize.