ECF 1.7
TreeCrxContextPreserved.h
1#ifndef TreeCrxContextPreserved_h
2#define TreeCrxContextPreserved_h
3
4
5namespace Tree
6{
7
14class TreeCrxContextPreserved : public CrossoverOp
15{
16public:
17 bool mate(GenotypeP gen1, GenotypeP gen2, GenotypeP child);
18 bool initialize(StateP);
19 void registerParameters(StateP);
20};
21typedef std::shared_ptr<TreeCrxContextPreserved> TreeCrxContextPreservedP;
22}
23#endif // TreeCrxContextPreserved_h
Tree genotype: context presevation crx operator. Tries to make crossover at the 'same' point in both ...
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.