ECF 1.5
TreeCrxOnePoint.h
1#ifndef TreeCrxOnePoint_h
2#define TreeCrxOnePoint_h
3
4
5namespace Tree
6{
7
15{
16public:
17 bool mate(GenotypeP gen1, GenotypeP gen2, GenotypeP child);
18 bool initialize(StateP);
19 void registerParameters(StateP);
20};
21typedef boost::shared_ptr<TreeCrxOnePoint> TreeCrxOnePointP;
22}
23#endif // TreeCrxOnePoint_h
CrossoverOp base class.
Definition: Crossover.h:19
Tree genotype: one point crx operator. Tries to select a crossing point in parent tree's common regio...
bool mate(GenotypeP gen1, GenotypeP gen2, GenotypeP child)
void registerParameters(StateP)
Register parameters with the system. Called before CrossoverOp::initialize.
bool initialize(StateP)
Initialize crossover operator. Called before first crossover operation.