ECF 1.7
CartesianCrxUniform.h
1#ifndef CartesianCrsUniform_h
2#define CartesianCrsUniform_h
3
4#include "../ECF_base.h"
5
6
7namespace Cartesian {
14 class CartesianCrxUniform: 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<CartesianCrxUniform> CartesianCrxUniformP;
22}
23
24#endif /* CartesianCrsUniform_h */
Cartesian genotype: uniform crossover operator.
bool initialize(StateP)
Initialize crossover operator. Called before first crossover operation.
void registerParameters(StateP)
Register parameters with the system. Called before CrossoverOp::initialize.
bool mate(GenotypeP gen1, GenotypeP gen2, GenotypeP child)