![]() |
IAtari
Genetic algorithm generating AI capable to play Atari2600 games.
|
Header of agent_worker.cpp. More...
Go to the source code of this file.
Functions | |
message::result< double > | agent_worker (message::request< agent > request) |
Test the given agent. More... | |
Header of agent_worker.cpp.
message::result<double> agent_worker | ( | message::request< agent > | request | ) |
Test the given agent.
First of all, the ALE is initialized. Then, the agent run until the game-over and that all the evaluation has been done.
In more detail, each frame the screen registers is re-computed and the agent choose and execute an action. Moreover, the reward is calculated and saved for each evaluation.
request | The agent to be tested. |