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