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

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

00001 #ifndef Genetic_Annealing_h
00002 #define Genetic_Annealing_h
00003 
00004 #include "Algorithm.h"
00005 
00006 
00017 class GeneticAnnealing : public Algorithm
00018 {
00019 public:
00020     GeneticAnnealing();
00021 
00022     bool advanceGeneration(StateP state, DemeP deme);
00023     bool initialize(StateP state);
00024     void registerParameters(StateP state);
00025 
00026 protected:
00027     bool isFirstGeneration_;
00028     double energyBank_;
00029     double *Th;               //threshold 
00030     double coolingF_;         //factor of cooling 0<coolingF<1
00031     double dE_;               //reheating increment
00032     SelBestOpP selBestOp_;
00033     bool elitism_;
00034 
00035 };
00036 typedef boost::shared_ptr<GeneticAnnealing> GeneticAnnealingP;
00037 
00038 #endif // Genetic_Annealing_h
00039 

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