EvaluatorThreadForEvoga Class Reference
  this is an helper class for implementing multithread in Evoga More...
Public Member Functions | |
| EvaluatorThreadForEvoga (Evoga *ga, EvoRobotExperiment *exp) | |
| Constructor.   | |
| ~EvaluatorThreadForEvoga () | |
| Destructor.   | |
| EvoRobotExperiment * | getExperiment () | 
| Returns the experiment we run.   | |
| double | getFitness () const | 
| Returns the fitness of the last run.   | |
| int | getGenotypeId () const | 
| Returns the id of the genotype used in this experiment.   | |
| void | run () | 
| Runs the experiment.   | |
| void | setGenotype (int id) | 
| Configures the experiment with the given genotype id.   | |
Detailed Description
this is an helper class for implementing multithread in Evoga
Constructor & Destructor Documentation
      
  | 
  inline | 
      
  | 
  inline | 
Member Function Documentation
      
  | 
  inline | 
      
  | 
  inline | 
      
  | 
  inline | 
      
  | 
  inline | 
Runs the experiment.
Definition at line 94 of file evoga.cpp.
References EvoRobotExperiment::doAllTrialsForIndividual(), and EvoRobotExperiment::getFitness().
      
  | 
  inline | 
Configures the experiment with the given genotype id.
- Parameters
 - 
  
id the genotype id to use in this experiment  
Definition at line 75 of file evoga.cpp.
References EvoRobotExperiment::setNetParameters().
The documentation for this class was generated from the following file:
- experiments/evorobot/src/evoga.cpp