LoveBrains  1.0.0
Public Member Functions | List of all members
GANN::GANNEngine Class Reference

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::GAEnginegetGAEngine (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::GAEnginegetGAEngine (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)
 

Detailed Description

Define the engine that will manage the population of GANN and the evolution.

Constructor & Destructor Documentation

GANN::GANNEngine::~GANNEngine ( void  )

Destructor.

Returns
error : GANNException

Member Function Documentation

ANN const & GANN::GANNEngine::getBestANN ( void  ) const

Get the best neural network contained in the population.

Returns
ANN const&
error : GANNException
GA::GAConfig const & GANN::GANNEngine::getGAConfig ( void  ) const
throw (
)

Get the GA::GAConfig member.

Returns
GA::GAConfig const&
GA::GAEngine & GANN::GANNEngine::getGAEngine ( void  )
throw (
)

Get the GA::GAEngine member.

Returns
GA::GAEngine&
GA::GAEngine const & GANN::GANNEngine::getGAEngine ( void  ) const
throw (
)

Get the GA::GAEngine member.

Returns
GA::GAEngine const&
void GANN::GANNEngine::Init ( GA::GAConfig const &  config,
unsigned int  size 
)

Initialize the GANNEngine.

Parameters
config: Contains the configuration for the GAEngine.
size: Contains the population size.
Returns
error : GANNException
void GANN::GANNEngine::setGAConfig ( GA::GAConfig const &  config)

Set the GA::GAEngine configuration.

Returns
error : GANNException
void GANN::GANNEngine::StartSimulation ( bool  report)

Start the simulation with the aim of evolving the population.

Parameters
report: Set if there is report or not.
Returns
error : GANNException

The documentation for this class was generated from the following files: