OpenANN  1.1.0
An open source library for artificial neural networks.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
List of all members | Public Member Functions
OpenANN::RandomAgent Class Reference

Choses actions randomly. More...

#include <RandomAgent.h>

+ Inheritance diagram for OpenANN::RandomAgent:

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 ()
 

Detailed Description

Choses actions randomly.

Constructor & Destructor Documentation

OpenANN::RandomAgent::RandomAgent ( )

Member Function Documentation

virtual void OpenANN::RandomAgent::abandoneIn ( Environment environment)
virtual

Abandon an agent in an environment.

Parameters
environmentreinforcement learning environment

Implements OpenANN::Agent.

virtual void OpenANN::RandomAgent::chooseAction ( )
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 void OpenANN::RandomAgent::chooseOptimalAction ( )
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.


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