ECF 1.5
CartesianCrsOnePoint.h
1#ifndef CartesianCrsOnePoint_h
2#define CartesianCrsOnePoint_h
3
4#include "../ECF_base.h"
5
6
7namespace cart {
12{
13public:
20 bool mate(GenotypeP gen1, GenotypeP gen2, GenotypeP child);
21 bool initialize(StateP);
22 void registerParameters(StateP);
23};
24typedef boost::shared_ptr<CartesianCrsOnePoint> CartesianCrsOnePointP;
25
26}
27
28#endif /* CartesianCrsOnePoint_h */
CrossoverOp base class.
Definition: Crossover.h:19
Cartesian genotype: one point crossover operator.
bool mate(GenotypeP gen1, GenotypeP gen2, GenotypeP child)
bool initialize(StateP)
Initialize crossover operator. Called before first crossover operation.
void registerParameters(StateP)
Register parameters with the system. Called before CrossoverOp::initialize.