00001 #ifndef TreeCrxSimple_h 00002 #define TreeCrxSimple_h 00003 00004 00005 namespace Tree 00006 { 00007 00013 class TreeCrxSimple : public CrossoverOp 00014 { 00015 public: 00016 bool mate(GenotypeP gen1, GenotypeP gen2, GenotypeP child); 00017 bool initialize(StateP); 00018 void registerParameters(StateP); 00019 protected: 00020 double funcChoiceProb_; 00021 }; 00022 typedef boost::shared_ptr<TreeCrxSimple> TreeCrxSimpleP; 00023 } 00024 #endif // TreeCrxSimple_h