#include <SIG_GPManager.h>
Inheritance diagram for SIGEL_GP::SIG_GPManager:
Public Methods | |
void | start () |
void | wait () |
void | msleep ( int ) |
bool | running () |
SIG_GPManager (SIG_GPExperiment &experiment) | |
The constructor of a SIG_GPManager object. More... | |
~SIG_GPManager () | |
The destructor of the SIG_GPManager class. More... | |
void | run () |
This methode starts the GPManager. More... | |
Public Attributes | |
bool | userTerminated |
This flag is set true if the environment that contains this SIG_GPManager has requested the termination of the evolution. More... | |
Protected Attributes | |
SIG_GPExperiment& | actExperiment |
The experiment object, which contains all the data related to the current experiment. More... | |
bool | schlussJetzt |
Private Methods | |
void | evolutionLoop () |
The evolutionLoop is the heart of the genetic programming algorithm. More... | |
void | createTours (int quantity) |
This function creates a set of tournaments. More... | |
void | evalNewIndis () |
This function checks the actuality of the fitness values of every individual in the pool. More... | |
void | calcInitTourSet () |
This functions calculates the order in which the tournaments have to be played. More... | |
virtual void | haveABreak () |
virtual void | messageEvolutionStop () |
virtual void | updateIndividualView ( int ) |
void | stopIfNecessary (bool generationBreak) |
This operation stops the gp-system. More... | |
bool | checkTerminationConditions (bool generationBreak) |
This operation checks the termination status of the gp-system. More... | |
SIG_GPExperiment& | getActExperiment () |
This operation returns a refernces of the actual experiment. More... | |
SIG_GPFitnessTrainer& | getActTrainer () |
This operation returns a refernces of the actual GPFitnessTrainer. More... | |
Private Attributes | |
QValueList<int> | taskCanDoList |
This list contains the indices of all tournaments in tours that are free to start or that are waiting for the calculation of fitness values for individuals that were created by them. More... | |
QDateTime | startTime |
SIG_GPFitnessTrainer | trainer |
The fitnesstrainer object, which manages the computation of the fitnessvalues with PVM. More... | |
QVector<SIG_GPTournament> | tours |
This QArray is used to store the randomly created tournaments for one generation. More... | |
SIGEL_Tools::SIG_Randomizer | randomizer |
The randomizer object, used to create randomseeds for the evolution. More... | |
bool | fitnessCalculated |
int | currentGenerationNo |
It uses the class SIG_Experiment to organize the data of the different experiments, like the GPParameter, which are used to store the current genetic-programming-parameters. A nessecary part of the evolution, the fitnesstrainer, are included, which manages the use of the fitnessfunctions. The class SIG_GPTournament is included becauses it is needed for the organization of the tournaments of a evolution run. The SIG_Randomizer supplies the system with random seeds.
Definition at line 31 of file SIG_GPManager.h.
|
The constructor of a SIG_GPManager object.
Definition at line 12 of file SIG_GPManager.cpp. |
|
The destructor of the SIG_GPManager class.
Definition at line 684 of file SIG_GPManager.cpp. |
|
This functions calculates the order in which the tournaments have to be played. It is a topological sorting algorithm, used to avoid trouble with tournament dependencies, caused by the steady state paradigm.
Definition at line 436 of file SIG_GPManager.cpp. Referenced by run(). |
|
This operation checks the termination status of the gp-system.
Definition at line 524 of file SIG_GPManager.cpp. Referenced by stopIfNecessary(). |
|
This function creates a set of tournaments.
Definition at line 195 of file SIG_GPManager.cpp. Referenced by run(). |
|
This function checks the actuality of the fitness values of every individual in the pool.
Definition at line 327 of file SIG_GPManager.cpp. Referenced by run(). |
|
The evolutionLoop is the heart of the genetic programming algorithm. It determine how the evolution works.
Definition at line 39 of file SIG_GPManager.cpp. Referenced by run(). |
|
This operation returns a refernces of the actual experiment.
Definition at line 34 of file SIG_GPManager.cpp. Referenced by calcInitTourSet(). |
|
This operation returns a refernces of the actual GPFitnessTrainer.
Definition at line 28 of file SIG_GPManager.cpp. |
|
Definition at line 501 of file SIG_GPManager.cpp. |
|
Definition at line 506 of file SIG_GPManager.cpp. |
|
Definition at line 52 of file SIG_GPManager.h. |
|
This methode starts the GPManager. Thats why the GPManager inherites from QThread.
Definition at line 581 of file SIG_GPManager.cpp. |
|
Definition at line 55 of file SIG_GPManager.h. |
|
Definition at line 44 of file SIG_GPManager.h. |
|
This operation stops the gp-system.
Definition at line 515 of file SIG_GPManager.cpp. Referenced by evalNewIndis(), evolutionLoop(), and run(). |
|
Definition at line 512 of file SIG_GPManager.cpp. |
|
Definition at line 49 of file SIG_GPManager.h. |
|
The experiment object, which contains all the data related to the current experiment.
Definition at line 71 of file SIG_GPManager.h. |
|
Definition at line 103 of file SIG_GPManager.h. |
|
Definition at line 100 of file SIG_GPManager.h. |
|
The randomizer object, used to create randomseeds for the evolution.
Definition at line 97 of file SIG_GPManager.h. |
|
Definition at line 74 of file SIG_GPManager.h. |
|
Definition at line 77 of file SIG_GPManager.h. |
|
This list contains the indices of all tournaments in tours that are free to start or that are waiting for the calculation of fitness values for individuals that were created by them.
Definition at line 64 of file SIG_GPManager.h. |
|
This QArray is used to store the randomly created tournaments for one generation.
Definition at line 91 of file SIG_GPManager.h. |
|
The fitnesstrainer object, which manages the computation of the fitnessvalues with PVM.
Definition at line 84 of file SIG_GPManager.h. |
|
This flag is set true if the environment that contains this SIG_GPManager has requested the termination of the evolution. The evolution will stop at the next possible moment, independent from the saveExit GP-Parameter or the termination type. Definition at line 42 of file SIG_GPManager.h. |