ECF 1.5
TreeCrxSizeFair.h
1#ifndef TreeCrxSizeFair_h
2#define TreeCrxSizeFair_h
3
4
5namespace Tree
6{
7
14{
15public:
16 bool mate(GenotypeP gen1, GenotypeP gen2, GenotypeP child);
17 bool initialize(StateP);
18 int calculateSize(int avg);
19 void registerParameters(StateP);
20};
21typedef boost::shared_ptr<TreeCrxSizeFair> TreeCrxSizeFairP;
22}
23#endif // TreeCrxSizeFair_h
CrossoverOp base class.
Definition: Crossover.h:19
Tree genotype: size fair crx operator. Reference: http://dces.essex.ac.uk/staff/rpoli/gp-field-guide/...
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)