LoveBrains  1.0.0
Classes | Typedefs | Functions
App Namespace Reference

Contains all the tools which compose the application. More...

Classes

class  App
 Manage all the stuff in order to run the simulation. More...
 
class  AppException
 Define the exception for the App class. More...
 
class  ConfigManager
 Manage the configuration of the simulator and the engines. More...
 
struct  s_config_getter
 Object which manage parsing of the configuration file. More...
 

Typedefs

typedef void(* ConfigGetter) (Simulator::SConfig &, std::string const &)
 
typedef struct App::s_config_getter t_config_getter
 Object which manage parsing of the configuration file.
 

Functions

void config_getCrossingRate (Simulator::SConfig &config, std::string const &value)
 Get the crossing rate from the configuration file.
 
void config_getMutationRate (Simulator::SConfig &config, std::string const &value)
 Get the mutation rate from the configuration file.
 
void config_getSelectionRate (Simulator::SConfig &config, std::string const &value)
 Get the selection rate from the configuration file.
 
void config_getExpectedFitness (Simulator::SConfig &config, std::string const &value)
 Get the expected fitness from the configuration file.
 
void config_getPoolSize (Simulator::SConfig &config, std::string const &value)
 Get the pool size for the tournament from the configuration file.
 
void config_getMaxEpochs (Simulator::SConfig &config, std::string const &value)
 Get the maximum epochs from the configuration file.
 
void config_getReportInterval (Simulator::SConfig &config, std::string const &value)
 Get the report interval from the configuration file.
 
void config_getPopulationSize (Simulator::SConfig &config, std::string const &value)
 Get the population size from the configuration file.
 
void config_getANNInfos (Simulator::SConfig &config, std::string const &value)
 Get the neural network informations from the configuration file.
 
void config_getActivation (Simulator::SConfig &config, std::string const &value)
 Get the activation function for the intern layers, from the configuration file.
 
void config_getOutputsActivation (Simulator::SConfig &config, std::string const &value)
 Get the activation function for the output layer, from the configuration file.
 
void config_getEnvironmentSize (Simulator::SConfig &config, std::string const &value)
 Get the environment size (window size) from the configuration file.
 
void config_getIsTournament (Simulator::SConfig &config, std::string const &value)
 Get if it's a tournament from the configuration file.
 
void config_getDisplayMode (Simulator::SConfig &config, std::string const &value)
 Get the display mode of the environment.
 

Detailed Description

Contains all the tools which compose the application.