• Main Page
  • Modules
  • Classes
  • Files
  • File List

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

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

Generated on Tue Nov 4 2014 13:04:30 for ECF by  doxygen 1.7.1