00001 #ifndef BINARYMUTSIMPLE_H_ 00002 #define BINARYMUTSIMPLE_H_ 00003 00004 00005 namespace Binary 00006 { 00007 00012 class BinaryMutSimple: public MutationOp 00013 { 00014 protected: 00015 double bitProb_; 00016 bool bUseBitProb_; 00017 00018 public: 00019 bool mutate(GenotypeP gene); 00020 bool initialize(StateP); 00021 void registerParameters(StateP); 00022 }; 00023 typedef boost::shared_ptr<BinaryMutSimple> BinaryMutSimpleP; 00024 } 00025 00026 #endif /* BINARYMUTSIMPLE_H_ */ 00027