#include <SIG_Experiment.h>
Inheritance diagram for SIGEL_MasterGUI::SIG_Experiment:
Public Methods | |
SIG_Experiment ( QString name, QWidgetStack *theWidgetStack, SIG_ExperimentItem *theExperimentItem ) | |
The constructor of SIG_Experiment. More... | |
~SIG_Experiment () | |
The destructor. More... | |
QString | getName () const |
This function return the name of the experiment. More... | |
void | setName ( QString newName ) |
This function set the name of the experiment to a new name. More... | |
Public Attributes | |
SIGEL_GP::SIG_GPExperiment | gpExperiment |
The SIG_GPExperiment belonging to this experiment. More... | |
SIGEL_GP::SIG_GUIGPManager* | gpManager |
The SIG_GPManager belonging to this experiment. More... | |
QPopupMenu* | menuGPParameter |
The popup menu belonging to the gp parameters. More... | |
QPopupMenu* | menuSimulationParameter |
The popup menu belonging to the simulation parameters. More... | |
QPopupMenu* | menuRobotView |
The popup menu belonging to the robot view. More... | |
QPopupMenu* | menuEnvironmentView |
The popup menu belonging to the environment view. More... | |
QPopupMenu* | menuExperimentView |
The popup menu belonging to the experiment view. More... | |
SIG_ExperimentItem* | experimentItem |
The SIG_ExperimentItem belonging to the experiment. More... | |
SIG_GPParameter* | gpParameter |
The SIG_GPParameter belonging to the experiment. More... | |
SIG_SimulationParameter* | simulationParameter |
The SIG_SimulationParameter belonging to the experiment. More... | |
SIG_EnvironmentView* | environmentView |
The SIG_EnvironmentView belonging to the experiment. More... | |
SIG_RobotView* | robotView |
The SIG_RobotView belonging to the experiment. More... | |
SIG_ExperimentView* | experimentView |
The SIG_ExperimentView belonging to the experiment. More... | |
SIG_AllIndividualsView* | allIndividualsView |
The widget in which all the individuals can be viewed. More... | |
SIG_LanguageParameters* | languageParameters |
The widget in which the language parameters can be set. More... | |
Public Slots | |
void | putAllIntoExperiment () |
This function is called to put all the data out of the widget into the experiment. More... | |
void | getAllOutOfExperiment () |
This function is called to read all data out of the experiment to put it into the corresponding widgets. More... | |
void | slotRightClick ( QString option, const QPoint & thePoint ) |
This slot is called by the experiment list view, whenever the user performs a right click onto an item. More... | |
void | slotSelectionChanged ( QString option ) |
This slot is called by the experiment list view, whenever the selection changes. More... | |
void | slotStartEvolution () |
This slot is called whenever the evolution shall be started. More... | |
void | slotStopEvolution () |
This slot is called to stop the evolution. More... | |
void | slotSimulationParameterImport () |
This slot is used to import simulation parameter. More... | |
void | slotSimulationParameterExport () |
This slot is used to export simulation parameter. More... | |
void | slotEnvironmentImport () |
This slot is used to import an environment. More... | |
void | slotEnvironmentExport () |
This slot is used to export an environment. More... | |
void | slotGPParameterImport () |
This slot is used to import gp parameters. More... | |
void | slotGPParameterExport () |
This slot is used to export gp parameters. More... | |
void | slotLanguageParameterImport () |
This slot is used to import language parameters. More... | |
void | slotLanguageParameterExport () |
This slot is used to export language parameters. More... | |
void | slotPopulationImport () |
This slot is used to import a population. More... | |
void | slotPopulationExport () |
This slot is used to export a population. More... | |
void | slotRobotImport () |
This slot is called to import a robot. More... | |
void | slotGNUPlotExport () |
void | slotRobotLoad () |
This slot load an already processed robot. More... | |
void | slotRobotSave () |
This slot saves a robot. More... | |
void | slotEvolutionStopped () |
This slot is called whenever the evolution stops. More... | |
Signals | |
void | signalEvolutionNotRunning ( bool ) |
Protected Methods | |
QString | checkEnding ( QString fileName, QString ending ) |
This function checks if a filename has a given ending. More... | |
Protected Attributes | |
QDict<QWidget> | widgetDict |
All widgets belonging to an experiment are stored in this dictionary. More... | |
QDict<QPopupMenu> | menuDict |
All menus belonging to an experiment are stored in this dictionary. More... | |
QString | experimentName |
The experiment name. More... | |
QWidgetStack* | widgetStack |
A pointer to the widget stack in the main window. More... |
It holds one SIG_GPExperiment as well as one SIG_GPManager.
Definition at line 32 of file SIG_Experiment.h.
|
The constructor of SIG_Experiment. Receives the SIG_GPExperiment it belongs to.
Definition at line 19 of file SIG_Experiment.cpp. |
|
The destructor. Will be erased if not needed. Definition at line 156 of file SIG_Experiment.cpp. |
|
This function checks if a filename has a given ending.
Definition at line 209 of file SIG_Experiment.cpp. |
|
This function is called to read all data out of the experiment to put it into the corresponding widgets. The function calles the function getOutOfExperiment() for each widget in this class. Definition at line 198 of file SIG_Experiment.cpp. |
|
This function return the name of the experiment.
Definition at line 172 of file SIG_Experiment.cpp. |
|
This function is called to put all the data out of the widget into the experiment. The function calles the function putIntoExperiment() for each widget in this class. Definition at line 189 of file SIG_Experiment.cpp. |
|
This function set the name of the experiment to a new name. Position 0 of the experimentItem is set to new name as well as the variable. Also the experimentView in the widget stack will be reinserted under newName.
Definition at line 177 of file SIG_Experiment.cpp. |
|
This slot is used to export an environment.
Definition at line 349 of file SIG_Experiment.cpp. |
|
This slot is used to import an environment.
Definition at line 333 of file SIG_Experiment.cpp. |
|
This slot is called whenever the evolution stops.
Definition at line 598 of file SIG_Experiment.cpp. |
|
Definition at line 534 of file SIG_Experiment.cpp. |
|
This slot is used to export gp parameters.
Definition at line 394 of file SIG_Experiment.cpp. |
|
This slot is used to import gp parameters.
Definition at line 378 of file SIG_Experiment.cpp. |
|
This slot is used to export language parameters.
Definition at line 440 of file SIG_Experiment.cpp. |
|
This slot is used to import language parameters.
Definition at line 423 of file SIG_Experiment.cpp. |
|
This slot is used to export a population.
Definition at line 485 of file SIG_Experiment.cpp. |
|
This slot is used to import a population.
Definition at line 469 of file SIG_Experiment.cpp. |
|
This slot is called by the experiment list view, whenever the user performs a right click onto an item. option is the text of the item that was clicked and thePoint is the point where the right click was performed. it is also the point where the menu is shown of course.
Definition at line 218 of file SIG_Experiment.cpp. |
|
This slot is called to import a robot. Importing a robot means to load a robot that is completely unprocessed. For examples the tensors of the links are not yet calculated. Definition at line 513 of file SIG_Experiment.cpp. |
|
This slot load an already processed robot. Only already processed robots can be loaded. Definition at line 544 of file SIG_Experiment.cpp. |
|
This slot saves a robot. To save a robot it must either first be imported or loaded. So in every case is was already processed. Definition at line 570 of file SIG_Experiment.cpp. |
|
This slot is called by the experiment list view, whenever the selection changes. the widget in the widget-dictionary saved under option is shown. Definition at line 229 of file SIG_Experiment.cpp. |
|
This slot is used to export simulation parameter.
Definition at line 304 of file SIG_Experiment.cpp. |
|
This slot is used to import simulation parameter.
Definition at line 288 of file SIG_Experiment.cpp. |
|
This slot is called whenever the evolution shall be started.
Definition at line 234 of file SIG_Experiment.cpp. |
|
This slot is called to stop the evolution.
Definition at line 268 of file SIG_Experiment.cpp. |
|
The widget in which all the individuals can be viewed.
Definition at line 314 of file SIG_Experiment.h. |
|
The SIG_EnvironmentView belonging to the experiment.
Definition at line 299 of file SIG_Experiment.h. |
|
The SIG_ExperimentItem belonging to the experiment.
Definition at line 284 of file SIG_Experiment.h. |
|
The experiment name.
Definition at line 232 of file SIG_Experiment.h. |
|
The SIG_ExperimentView belonging to the experiment.
Definition at line 309 of file SIG_Experiment.h. |
|
The SIG_GPExperiment belonging to this experiment.
Definition at line 73 of file SIG_Experiment.h. |
|
The SIG_GPManager belonging to this experiment.
Definition at line 78 of file SIG_Experiment.h. |
|
The SIG_GPParameter belonging to the experiment.
Definition at line 289 of file SIG_Experiment.h. |
|
The widget in which the language parameters can be set.
Definition at line 319 of file SIG_Experiment.h. |
|
All menus belonging to an experiment are stored in this dictionary.
Definition at line 227 of file SIG_Experiment.h. |
|
The popup menu belonging to the environment view. This menu is shown whenever the user rightclicks onto the environment view item in the experiment list view. Definition at line 271 of file SIG_Experiment.h. |
|
The popup menu belonging to the experiment view. This menu is shown whenever the user rightclicks onto the experiment view item in the experiment list view. Definition at line 279 of file SIG_Experiment.h. |
|
The popup menu belonging to the gp parameters. This menu is shown whenever the user rightclicks onto the GP-Parameter item in the experiment list view. Definition at line 247 of file SIG_Experiment.h. |
|
The popup menu belonging to the robot view. This menu is shown whenever the user rightclicks onto the robot view item in the experiment list view. Definition at line 263 of file SIG_Experiment.h. |
|
The popup menu belonging to the simulation parameters. This menu is shown whenever the user rightclicks onto the Simulation-Parameter item in the experiment list view. Definition at line 255 of file SIG_Experiment.h. |
|
The SIG_RobotView belonging to the experiment.
Definition at line 304 of file SIG_Experiment.h. |
|
The SIG_SimulationParameter belonging to the experiment.
Definition at line 294 of file SIG_Experiment.h. |
|
All widgets belonging to an experiment are stored in this dictionary.
Definition at line 222 of file SIG_Experiment.h. |
|
A pointer to the widget stack in the main window.
Definition at line 237 of file SIG_Experiment.h. |