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