00001 #ifndef SIGEL_GP_SIG_GPSIMPLETOURNAMENT_H 00002 #define SIGEL_GP_SIG_GPSIMPLETOURNAMENT_H 00003 00004 #include "SIGEL_Tools/SIG_Randomizer.h" 00005 #include "SIGEL_GP/SIG_GPFitnessTrainer.h" 00006 #include "SIGEL_GP/SIG_GPPopulation.h" 00007 #include "SIGEL_GP/SIG_GPTournament.h" 00008 #include "SIGEL_GP/SIG_GPParameter.h" 00009 #include "SIGEL_Robot/SIG_LanguageParameters.h" 00010 00011 00012 namespace SIGEL_GP 00013 { 00014 00021 class SIG_GPSimpleTournament : public SIGEL_GP::SIG_GPTournament 00022 00023 { 00024 00043 public: 00044 SIG_GPSimpleTournament( SIGEL_Tools::SIG_Randomizer& randomizer, 00045 SIG_GPFitnessTrainer& trainer, 00046 SIG_GPPopulation& actPool, 00047 SIG_GPParameter& gpParameter, 00048 SIGEL_Robot::SIG_LanguageParameters &languageP, 00049 int ppos1, 00050 int ppos2 ); 00051 00059 public: 00060 virtual ~SIG_GPSimpleTournament(); 00061 00065 public: 00066 virtual bool run(); 00067 00068 private: 00069 QString name; 00070 00071 }; 00072 00073 } 00074 #endif // SIGEL_GP_SIG_GPSIMPLETOURNAMENT_H 00075 00076 00077