OpenANN
1.1.0
An open source library for artificial neural networks.
|
A (learning) agent in a reinforcement learning problem. More...
#include <Agent.h>
Public Member Functions | |
virtual | ~Agent () |
virtual void | abandoneIn (Environment &environment)=0 |
Abandon an agent in an environment. More... | |
virtual void | chooseAction ()=0 |
Choose an action and execute it in the environment. More... | |
virtual void | chooseOptimalAction ()=0 |
Choose an action and execute it in the environment. More... | |
A (learning) agent in a reinforcement learning problem.
|
inlinevirtual |
|
pure virtual |
Abandon an agent in an environment.
environment | reinforcement learning environment |
Implemented in NeuroEvolutionAgent, and OpenANN::RandomAgent.
|
pure virtual |
Choose an action and execute it in the environment.
This action might not be optimal, i.e. the agent is allowed to explore.
Implemented in NeuroEvolutionAgent, and OpenANN::RandomAgent.
|
pure virtual |
Choose an action and execute it in the environment.
The action must be optimal, i.e. the agent must exploit the learned policy.
Implemented in NeuroEvolutionAgent, and OpenANN::RandomAgent.