#include <SIG_GPTournament.h>
Inheritance diagram for SIGEL_GP::SIG_GPTournament:
Public Methods | |
SIG_GPTournament (SIGEL_Tools::SIG_Randomizer& randomizer, SIG_GPFitnessTrainer& trainer, SIG_GPPopulation& actPool, SIG_GPParameter& gpParameter, SIGEL_Robot::SIG_LanguageParameters &languageP) | |
The constructor of the GPTournament. More... | |
virtual | ~SIG_GPTournament () |
The destructor of the tournament. More... | |
virtual bool | run () |
This methode is virtual for definition in the inherited class. More... | |
Public Attributes | |
SIGEL_Robot::SIG_LanguageParameters& | languageP |
The current language parameter settings. More... | |
SIGEL_Tools::SIG_Randomizer& | randomizer |
The randomizer, which is needed to create the randompoint used for the genetic operations. More... | |
SIG_GPFitnessTrainer& | trainer |
The fitnesstrainer controls the computations of fitnessvalues after the genetic mutation of the winner of the tournament. More... | |
QVector<SIG_GPTournamentIndividual> | indis |
The tournamentindividual is used record the positions of the tournament members and the next tournament in which the tournamentindividual is member of, plus the taskid of the pvm-task given from the fitnesstrainer. More... | |
bool | justWaiting |
The flag signals if the tournament can be played or have to wait for earlier tournaments. More... | |
int | depNumber |
The number of tournaments which have to be played first, before this tournament can be played. More... | |
SIG_GPPopulation& | gpPool |
The actual individual pool. More... | |
SIG_GPParameter& | gpParameter |
The current GP settings that contain neccessary information for some GP operations. More... | |
Protected Methods | |
void | inhume ( SIG_GPIndividual &corps ) |
It has a randomizer reference, for creation of random number in the genetic operator. It has an fitnesstrainer reference for controlling the fitnesscomputation preformed by pvm. The GPTournament-class includes QVector for a datastructure of the envolved tournamentindividuals. The class has a reference of the actual individual pool, a flag for indicating if the tournament is ready to play and an integer value, which shows how many tournament are to play before this tournament can be played.
Definition at line 27 of file SIG_GPTournament.h.
|
The constructor of the GPTournament.
Definition at line 3 of file SIG_GPTournament.cpp. |
|
The destructor of the tournament.
Definition at line 20 of file SIG_GPTournament.cpp. |
|
Definition at line 26 of file SIG_GPTournament.cpp. |
|
This methode is virtual for definition in the inherited class.
Reimplemented in SIGEL_GP::SIG_GPCrossOverTournament, SIGEL_GP::SIG_GPMutationTournament, and SIGEL_GP::SIG_GPSimpleTournament. Definition at line 23 of file SIG_GPTournament.cpp. |
|
The number of tournaments which have to be played first, before this tournament can be played.
Definition at line 69 of file SIG_GPTournament.h. |
|
The current GP settings that contain neccessary information for some GP operations.
Definition at line 83 of file SIG_GPTournament.h. |
|
The actual individual pool.
Definition at line 76 of file SIG_GPTournament.h. |
|
The tournamentindividual is used record the positions of the tournament members and the next tournament in which the tournamentindividual is member of, plus the taskid of the pvm-task given from the fitnesstrainer.
Definition at line 55 of file SIG_GPTournament.h. |
|
The flag signals if the tournament can be played or have to wait for earlier tournaments.
Definition at line 62 of file SIG_GPTournament.h. |
|
The current language parameter settings.
Definition at line 34 of file SIG_GPTournament.h. |
|
The randomizer, which is needed to create the randompoint used for the genetic operations.
Definition at line 40 of file SIG_GPTournament.h. |
|
The fitnesstrainer controls the computations of fitnessvalues after the genetic mutation of the winner of the tournament.
Definition at line 47 of file SIG_GPTournament.h. |