• Main Page
  • Classes
  • Files
  • File List

D:/Radagast_D/Projekt/ECF_trunk/ECF/AlgSGenGPEA.h

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;   // no. of individuals in a single job
00019     std::vector<IndividualP> myJob;
00020 
00021     double crxRate;
00022     double selPressure; // selection pressure
00023     SelFitnessProportionalOpP selFitPropOp;
00024     SelRandomOpP selRandomOp;
00025     SelBestOpP selBestOp;
00026 };
00027 typedef boost::shared_ptr<AlgSGenGpea> AlgSGenGpeaP;
00028 
00029 #endif // AlgSGenGPEA_h

Generated on Wed Sep 1 2010 14:31:21 for ECF by  doxygen 1.7.1