ECF 1.5
TreeCrxContextPreserved.h
1#ifndef TreeCrxContextPreserved_h
2#define TreeCrxContextPreserved_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<TreeCrxContextPreserved> TreeCrxContextPreservedP;
22}
23#endif // TreeCrxContextPreserved_h
CrossoverOp base class.
Definition: Crossover.h:19
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.