#include <SIG_GPFitnessTrainer.h>
Public Methods | |
SIG_GPFitnessTrainer (SIG_GPExperiment& exp) | |
The constructor of the object of a GPFitnesstrainer. More... | |
~SIG_GPFitnessTrainer () | |
The destructor of the an SIG_GPFitnessTrainer-object. More... | |
int | spawnTask (SIG_GPIndividual const& ind) |
This operation spawns a PVM-task. More... | |
double | checkTask (int task) |
This operation checks a PVM-task, if the computation continues or not. More... | |
void | stopTrainersSlaves () |
This operation will stop all PVM-tasks. More... | |
void | sweepToSpawn () |
This operation sweeps over the toSpawnArray, to evaluate which task is to start next. More... | |
int | getNextHost () |
Private Attributes | |
SIG_GPExperiment& | exp |
A refernce to the actual experiment datas. More... | |
QVector< SIG_GPPVMTask > | pvmTasks |
The array of TIDs from PVM, to identify the PVMtasks. More... | |
QVector< SIG_GPActivePVMHost > | pvmHosts |
int | nextHostNumber |
QList< QArray<int> > | toSpawnList |
The array of indices, representing the position of the individual in the pool, which is to simulate. More... | |
SIG_GPPVMData | PVMData |
This is an object of the class, which contains the data encode and decode routines, related to pvmdatatransfer. More... | |
SIGEL_Robot::SIG_Robot | modifiedRobot |
int | nextFreeNumber |
This attribute contains the next free number, which is no indice in the array of the slaves. More... |
Definition at line 22 of file SIG_GPFitnessTrainer.h.
|
The constructor of the object of a GPFitnesstrainer.
Definition at line 8 of file SIG_GPFitnessTrainer.cpp. |
|
The destructor of the an SIG_GPFitnessTrainer-object.
Definition at line 91 of file SIG_GPFitnessTrainer.cpp. |
|
This operation checks a PVM-task, if the computation continues or not. This happens by checking out the message buffer, which the checked PVM-task have to use. If the computation is completed, the operation will return the fitnessvalue of the evaluated robot controll programm. If it not, the negative value -1 is returned.
Definition at line 186 of file SIG_GPFitnessTrainer.cpp. |
|
Definition at line 335 of file SIG_GPFitnessTrainer.cpp. |
|
This operation spawns a PVM-task. The individual, given by the parameter, contains the robot control program, which is to evaluate.
Definition at line 107 of file SIG_GPFitnessTrainer.cpp. |
|
This operation will stop all PVM-tasks.
Definition at line 236 of file SIG_GPFitnessTrainer.cpp. |
|
This operation sweeps over the toSpawnArray, to evaluate which task is to start next.
Definition at line 253 of file SIG_GPFitnessTrainer.cpp. |
|
This is an object of the class, which contains the data encode and decode routines, related to pvmdatatransfer.
Definition at line 54 of file SIG_GPFitnessTrainer.h. |
|
A refernce to the actual experiment datas.
Definition at line 28 of file SIG_GPFitnessTrainer.h. |
|
Definition at line 57 of file SIG_GPFitnessTrainer.h. |
|
This attribute contains the next free number, which is no indice in the array of the slaves.
Definition at line 63 of file SIG_GPFitnessTrainer.h. |
|
Definition at line 40 of file SIG_GPFitnessTrainer.h. |
|
Definition at line 37 of file SIG_GPFitnessTrainer.h. |
|
The array of TIDs from PVM, to identify the PVMtasks.
Definition at line 34 of file SIG_GPFitnessTrainer.h. |
|
The array of indices, representing the position of the individual in the pool, which is to simulate.
Definition at line 46 of file SIG_GPFitnessTrainer.h. |