IAtari
Genetic algorithm generating AI capable to play Atari2600 games.
genetic_algorithms::accumulate Namespace Reference

Handle computation of score. More...

Functions

double mean_score (const std::list< T > &l)
 Compute the mean of a list of values. More...
 

Detailed Description

Handle computation of score.

Function Documentation

◆ mean_score()

genetic_algorithms::accumulate::mean_score ( const std::list< T > &  l)

Compute the mean of a list of values.

Parameters
[in]lList of values
Returns
Mean of the values in the parameter list