IAtari
Genetic algorithm generating AI capable to play Atari2600 games.
message::request< T > Struct Template Reference

Represent an agent to be tested, can be (un)serialized. More...

#include <message.hpp>

Public Member Functions

void serialize (Archive &ar, const unsigned int)
 Save/Load agent with archive. More...
 

Public Attributes

int id
 
int nb_eval
 
uint64_t seed
 
params
 

Detailed Description

template<typename T>
struct message::request< T >

Represent an agent to be tested, can be (un)serialized.

Member Function Documentation

◆ serialize()

template<typename T>
message::request< Archive >::serialize ( Archive &  ar,
const unsigned int   
)
inline

Save/Load agent with archive.

Parameters
[in,out]arArchived agent
Remarks
The second parameter is unused, as we don't ensure retrocompatibility.
Warning
Don't use it. This function is automatically called when (un)serializing with boost.

Member Data Documentation

◆ id

template<typename T>
int message::request< T >::id

Identifier of this agent

◆ nb_eval

template<typename T>
int message::request< T >::nb_eval

Total number of evaluation on this agent

◆ params

template<typename T>
T message::request< T >::params

Unserialized agent

◆ seed

template<typename T>
uint64_t message::request< T >::seed

Random seed used by the ALE to test this agent


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