![]() |
IAtari
Genetic algorithm generating AI capable to play Atari2600 games.
|
Handle the true representation of an agent, i.e. an AI. More...
Namespaces | |
genetic_operators | |
Handle genetic operations performed on agents. | |
Macros | |
#define | BINARY(OP) |
#define | UNARY(OP) |
Functions | |
std::ostream & | operator<< (std::ostream &os, const agent &a) |
Operator << overloaded so that an agent's program can be displayed by using this operator directly on the agent. More... | |
static agent::instruction | genetic_operators::random_instruction (const agent &a) |
Generate a random instruction. More... | |
void | genetic_operators::initialize (agent &a) |
Initialize an agent with random instructions. More... | |
void | genetic_operators::mutate (agent &a) |
Mutate an agent, i.e. modify some instructions. More... | |
void | genetic_operators::crossover (agent &a1, agent &a2) |
Swap instructions between two agents. More... | |
Handle the true representation of an agent, i.e. an AI.
#define BINARY | ( | OP | ) |
#define UNARY | ( | OP | ) |
operator<< | ( | std::ostream & | os, |
const agent & | a | ||
) |
Operator << overloaded so that an agent's program can be displayed by using this operator directly on the agent.