LoveBrains
1.0.0
|
Define the engine that will manage the population of GANN and the evolution. More...
#include <gann_engine.h>
Public Member Functions | |
GANNEngine (void) throw () | |
Constructor. | |
~GANNEngine (void) | |
Destructor. More... | |
void | Init (GA::GAConfig const &config, unsigned int size) |
Initialize the GANNEngine. More... | |
ANN const & | getBestANN (void) const |
Get the best neural network contained in the population. More... | |
GA::GAEngine & | getGAEngine (void) throw () |
Get the GA::GAEngine member. More... | |
GA::GAEngine const & | getGAEngine (void) const throw () |
Get the GA::GAEngine member. More... | |
GA::GAConfig const & | getGAConfig (void) const throw () |
Get the GA::GAConfig member. More... | |
void | setGAConfig (GA::GAConfig const &config) |
Set the GA::GAEngine configuration. More... | |
void | StartSimulation (bool report) |
Start the simulation with the aim of evolving the population. More... | |
void | Init (GA::GAConfig const &config, unsigned int size) |
ANN const & | getBestANN (void) const |
GA::GAEngine & | getGAEngine (void) throw () |
GA::GAEngine const & | getGAEngine (void) const throw () |
GA::GAConfig const & | getGAConfig (void) const throw () |
void | setGAConfig (GA::GAConfig const &config) |
void | StartSimulation (bool report) |
Define the engine that will manage the population of GANN and the evolution.
GANN::GANNEngine::~GANNEngine | ( | void | ) |
Destructor.
ANN const & GANN::GANNEngine::getBestANN | ( | void | ) | const |
Get the best neural network contained in the population.
GA::GAConfig const & GANN::GANNEngine::getGAConfig | ( | void | ) | const | |
throw | ( | ||||
) |
Get the GA::GAConfig member.
GA::GAEngine & GANN::GANNEngine::getGAEngine | ( | void | ) | ||
throw | ( | ||||
) |
Get the GA::GAEngine member.
GA::GAEngine const & GANN::GANNEngine::getGAEngine | ( | void | ) | const | |
throw | ( | ||||
) |
Get the GA::GAEngine member.
void GANN::GANNEngine::Init | ( | GA::GAConfig const & | config, |
unsigned int | size | ||
) |
Initialize the GANNEngine.
config | : Contains the configuration for the GAEngine. |
size | : Contains the population size. |
void GANN::GANNEngine::setGAConfig | ( | GA::GAConfig const & | config | ) |
Set the GA::GAEngine configuration.
void GANN::GANNEngine::StartSimulation | ( | bool | report | ) |
Start the simulation with the aim of evolving the population.
report | : Set if there is report or not. |