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