![]() |
IAtari
Genetic algorithm generating AI capable to play Atari2600 games.
|
Handle the test of an agent. More...
Functions | |
message::result< double > | agent_worker (message::request< agent > request) |
Test the given agent. More... | |
Handle the test of an agent.
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. |