IAtari
Genetic algorithm generating AI capable to play Atari2600 games.
ga::parameters Struct Reference

Parameters of the genetic algorithm. More...

#include <ga.hpp>

Public Attributes

double mutation_rate
 
double crossover_rate
 
int tournament_size
 
int population_size
 
int nb_iterations
 

Detailed Description

Parameters of the genetic algorithm.

Member Data Documentation

◆ crossover_rate

double ga::parameters::crossover_rate

Percentage chance of crossover between two agents

◆ mutation_rate

double ga::parameters::mutation_rate

Percentage chance of mutation for an agent

◆ nb_iterations

int ga::parameters::nb_iterations

Number of times that the population is trained

◆ population_size

int ga::parameters::population_size

Size of the agent population

◆ tournament_size

int ga::parameters::tournament_size

Size of pools when a new population is created


The documentation for this struct was generated from the following file: