00001 #ifndef BINARYCRSONEPOINT_H_ 00002 #define BINARYCRSONEPOINT_H_ 00003 00004 #include "Binary.h" 00005 00006 namespace Binary 00007 { 00008 00009 00013 class BinaryCrsOnePoint: public CrossoverOp 00014 { 00015 public: 00016 bool mate(GenotypeP gen1, GenotypeP gen2, GenotypeP child); 00017 bool initialize(StateP); 00018 void registerParameters(StateP); 00019 }; 00020 typedef boost::shared_ptr<BinaryCrsOnePoint> BinaryCrsOnePointP; 00021 } 00022 00023 #endif /* BINARYCRSONEPOINT_H_ */ 00024
1.7.1