14 # include "Graphics/i_object.h"
15 # include "ANN/neural_net.h"
60 virtual void setInput(
unsigned int index,
double value) = 0;
virtual double getFitness(void) const =0
Get the current fitness of the object.
virtual void setInput(unsigned int index, double value)=0
Set an input for the neural network.
Define the interface of an object.
Definition: i_object.h:24
Define the interface of an object that contains a neural network.
Definition: i_brain.h:23
Define what is a neural network.
Definition: neural_net.h:24
Contains all the class that define the graphic environment.
virtual void setBrain(GANN::ANN const &brain)=0
Set the current neural network of the object.
virtual ~IBrain(void)
Destructor.
Definition: i_brain.h:29
virtual void setFitness(double fitness)=0
Set the current fitness of the object.