![]() |
IAtari
Genetic algorithm generating AI capable to play Atari2600 games.
|
Represents the caracteristics of an agent. More...
#include <agent.hpp>
Public Member Functions | |
parameters ()=default | |
Standard constructor. More... | |
parameters (int input_size, int output_size, int nb_registers, int nb_long_term_registers, int program_size, int nb_parts, int time_by_part) | |
Constructor entirely initializing parameters. More... | |
void | serialize (Archive &ar, const unsigned int) |
Save/Load parameters with archive. More... | |
Public Attributes | |
int | input_size |
int | output_size |
int | nb_registers |
int | nb_long_term_registers |
int | program_size |
int | nb_parts |
int | time_by_part |
Represents the caracteristics of an agent.
|
default |
Standard constructor.
|
inline |
Constructor entirely initializing parameters.
input_size | Number of pixel composing the screen |
output_size | Number of possible output on the controller |
nb_registers | Number of register composing the register file "temporary" |
nb_long_term_registers | Number of register composing the register file "permanent" |
program_size | Total number of instruction composing a part of the program |
nb_parts | Number of part composing a program |
time_by_part | Number of time that a part is ran |
|
inline |
Save/Load parameters with archive.
[in,out] | ar | Archived parameters |
int agent::parameters::input_size |
Number of pixel composing the screen
int agent::parameters::nb_long_term_registers |
Number of register composing the register file "permanent"
int agent::parameters::nb_parts |
Number of part composing a program
int agent::parameters::nb_registers |
Number of register composing the register file "temporary"
int agent::parameters::output_size |
Number of possible output on the controller
int agent::parameters::program_size |
Total number of instruction composing a part of the program
int agent::parameters::time_by_part |
Number of time that a part is ran