|
LoveBrains
1.0.0
|
Define the interface that will be used to create an supported individual for the GAEngine. More...
#include <i_dna.h>
Public Member Functions | |
| virtual | ~IDNA (void) |
| Destructor. | |
| virtual double | getFitness (void) const =0 |
| Get the fitness of the individual. More... | |
| virtual void | setFitness (double fitness)=0 |
| Set the fitness of the individual. More... | |
| virtual void | Print (void)=0 |
| Allow to draw the individual on the shell. | |
| virtual double | getFitness (void) const =0 |
| virtual void | setFitness (double fitness)=0 |
| virtual void | Print (void)=0 |
Define the interface that will be used to create an supported individual for the GAEngine.
|
pure virtual |
Get the fitness of the individual.
Implemented in GANN::GANN, and GANN::GANN.
|
pure virtual |
Set the fitness of the individual.
| fitness | : Contains the new fitness. |
Implemented in GANN::GANN, and GANN::GANN.
1.8.10