ECF 1.5
TreeCrxSimple.h
1#ifndef TreeCrxSimple_h
2#define TreeCrxSimple_h
3
4
5namespace Tree
6{
7
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 boost::shared_ptr<TreeCrxSimple> TreeCrxSimpleP;
23}
24#endif // TreeCrxSimple_h
CrossoverOp base class.
Definition: Crossover.h:19
Tree genotype: simple tree crossover operator (with default 90% bias toward functional node) Referenc...
Definition: TreeCrxSimple.h:14
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)