#include <SIG_GPFitnessFunction.h>
Inheritance diagram for SIGEL_GP::SIG_GPFitnessFunction:
Public Methods | |
SIG_GPFitnessFunction (SIGEL_Program::SIG_Program & program, SIGEL_Robot::SIG_Robot & rob, SIGEL_Environment::SIG_Environment & environment, SIGEL_Simulation::SIG_SimulationParameters & simparameter, QString name) | |
The function, which creates the object of a fitnessfunction with the needed data, for the simulationrun. More... | |
virtual | ~SIG_GPFitnessFunction () |
The destructor of the fitnessfunction. More... | |
virtual double | evalFitness () = 0 |
This operation activates the computation of the fitnessvalue. More... | |
Public Attributes | |
QString const | name |
The name of the fitnessfunction. More... | |
Protected Methods | |
bool | isValid ( double value ) |
DL_vector | normalizeRobotPosition ( DL_vector originalPosition, DL_matrix actualRobotRotation ) |
Protected Attributes | |
SIGEL_Program::SIG_Program& | program |
The individual, which conatins the robot control programm. More... | |
SIGEL_Robot::SIG_Robot& | rob |
The robot artichecture on which the robot control programm shall be executed. More... | |
SIGEL_Environment::SIG_Environment& | environment |
The environment for the simulation run. More... | |
SIGEL_Simulation::SIG_SimulationParameters& | simparameter |
The simulation parameter for the simulation run. More... |
Definition at line 22 of file SIG_GPFitnessFunction.h.
|
The function, which creates the object of a fitnessfunction with the needed data, for the simulationrun.
Definition at line 5 of file SIG_GPFitnessFunction.cpp. |
|
The destructor of the fitnessfunction.
Definition at line 19 of file SIG_GPFitnessFunction.cpp. |
|
This operation activates the computation of the fitnessvalue. It is virtual, this means that the implemantation is for every fitnessfunction different.
Reimplemented in SIGEL_GP::SIG_GPSimpleFitnessFunction. |
|
Definition at line 21 of file SIG_GPFitnessFunction.cpp. |
|
Definition at line 26 of file SIG_GPFitnessFunction.cpp. |
|
The environment for the simulation run.
Definition at line 43 of file SIG_GPFitnessFunction.h. |
|
The name of the fitnessfunction.
Definition at line 57 of file SIG_GPFitnessFunction.h. |
|
The individual, which conatins the robot control programm.
Definition at line 29 of file SIG_GPFitnessFunction.h. |
|
The robot artichecture on which the robot control programm shall be executed.
Definition at line 36 of file SIG_GPFitnessFunction.h. |
|
The simulation parameter for the simulation run.
Definition at line 50 of file SIG_GPFitnessFunction.h. |