![]() |
IAtari
Genetic algorithm generating AI capable to play Atari2600 games.
|
Handle score computing and flow control of the algorithm. More...
Namespaces | |
accumulate | |
Handle computation of score. | |
Classes | |
class | distributed_fitness |
Handle flow control of the algorithm. More... | |
Functions | |
template<typename Res , typename Params > | |
std::shared_ptr< distributed_fitness< Res, Params > > | make_distributed_fitness (int port, std::function< Res(const std::list< Res > &)> accumulate, int nb_eval_by_parameter=1, int nb_eval_by_slave=1) |
Creates a fitness tool and launches a master in a separate thread. More... | |
Handle score computing and flow control of the algorithm.
std::shared_ptr<distributed_fitness<Res, Params> > genetic_algorithms::make_distributed_fitness | ( | int | port, |
std::function< Res(const std::list< Res > &)> | accumulate, | ||
int | nb_eval_by_parameter = 1 , |
||
int | nb_eval_by_slave = 1 |
||
) |
Creates a fitness tool and launches a master in a separate thread.
port | Port used to communicate over the network |
accumulate | Function used to compute score |
nb_eval_by_parameter | Number of test performed on an agent |
nb_eval_by_slave | Number max of test performed by a slave on an agent |