ECF 1.7
TreeCrxSimple.h
1#ifndef TreeCrxSimple_h
2#define TreeCrxSimple_h
3
4
5namespace Tree
6{
7
13class TreeCrxSimple : public CrossoverOp
14{
15public:
16 bool mate(GenotypeP gen1, GenotypeP gen2, GenotypeP child);
17 bool initialize(StateP);
18 void registerParameters(StateP);
19protected:
20 double funcChoiceProb_;
21};
22typedef std::shared_ptr<TreeCrxSimple> TreeCrxSimpleP;
23}
24#endif // TreeCrxSimple_h
Tree genotype: simple tree crossover operator (with default 90% bias toward functional node) Referenc...
void registerParameters(StateP)
Register parameters with the system. Called before CrossoverOp::initialize.
bool initialize(StateP)
Initialize crossover operator. Called before first crossover operation.
bool mate(GenotypeP gen1, GenotypeP gen2, GenotypeP child)