#include <SIG_GPOperations.h>
Static Public Methods | |
QVector<SIGEL_GP::SIG_GPIndividual> | crossOver ( SIGEL_GP::SIG_GPIndividual& winner1, int poolPos1, SIG_GPIndividual& winner2, int poolPos2, QString newName1, QString newName2, SIGEL_Tools::SIG_Randomizer& randomizer, SIGEL_GP::SIG_GPParameter& gpParameter, SIGEL_Robot::SIG_LanguageParameters &languageP ) |
This operation preformes a genetic crossover of the robot control programs of two individuals. More... | |
SIGEL_GP::SIG_GPIndividual& | mutation ( SIGEL_GP::SIG_GPIndividual& winner, int poolpos, QString newName, SIGEL_Tools::SIG_Randomizer& randomizer, SIGEL_GP::SIG_GPParameter& gpParameter, SIGEL_Robot::SIG_LanguageParameters &languageP) |
This Operation mutate the Individual. More... | |
SIGEL_GP::SIG_GPIndividual& | reproduction (SIGEL_GP::SIG_GPIndividual& winner, QString newName, int poolPos, SIGEL_Tools::SIG_Randomizer& randomizer, SIGEL_GP::SIG_GPParameter& gpParameter, SIGEL_Robot::SIG_LanguageParameters &languageP ) |
This operation gets the winner of an played tournament with reproduktion. More... |
The operations are declared as static functions, so no attributes are there. The needed data have to be given at the function call as parameters.
Definition at line 21 of file SIG_GPOperations.h.
|
This operation preformes a genetic crossover of the robot control programs of two individuals.
Definition at line 10 of file SIG_GPOperations.cpp. |
|
This Operation mutate the Individual.
Definition at line 270 of file SIG_GPOperations.cpp. |
|
This operation gets the winner of an played tournament with reproduktion. It returns the same Individual without any changes.
Definition at line 571 of file SIG_GPOperations.cpp. |