00001 #ifndef AlgSGenGPEA_h
00002 #define AlgSGenGPEA_h
00003
00004 #include "ParallelAlgorithm.h"
00005
00010 class AlgSGenGpea : public ParallelAlgorithm
00011 {
00012 public:
00013 AlgSGenGpea();
00014 bool advanceGeneration(StateP state, DemeP deme);
00015 bool initialize(StateP state);
00016 void registerParameters(StateP state);
00017
00018 protected:
00019 uint jobSize;
00020 std::vector<IndividualP> myJob;
00021
00022 double crxRate;
00023 double selPressure;
00024 SelFitnessProportionalOpP selFitPropOp;
00025 SelRandomOpP selRandomOp;
00026 SelBestOpP selBestOp;
00027 };
00028 typedef boost::shared_ptr<AlgSGenGpea> AlgSGenGpeaP;
00029
00030 #endif // AlgSGenGPEA_h