Reinforcement Learning Toolbox 2.0
last updated:
General
Documentation
Manual
Tutorial
Class Reference
Master Thesis
Examples
Related Papers
Downloads
Links
News
mailto:webmaster
Main Page     Class Hierarchy   Compound List   File List   Compound Members   File Members

CAgentController Class Reference

Class for navigating the agent. More...

#include <cagentcontroller.h>

Inheritance diagram for CAgentController:

CActionObject CParameterObject CParameters CActorForMultipleAgents CActorFromActionValue CAdaptiveTargetGraphController CAgentStatisticController CContinuousActionController CDeterministicController CGraphController CHierarchicalController CMultiPoleController CMultiPoleDiscreteController CQGreedyPolicy CStoredEpisodeModel CSubGoalController List of all members.


Public Member Functions

  CAgentController (CActionSet *actions)
  Constructor for the controller, sets the agent controllers action set.

virtual  ~CAgentController ()
virtual CAction getNextAction (CStateCollection *state, CActionDataSet *data=NULL)=0
  Virtual function for returning the action for the specified state, must be implemented by all subclasses.


Detailed Description

Class for navigating the agent.

The agent has an own agent controller, which tells the agent what to do. Agent controllers return an action given a specific state collection. This is done by the interface CAction* getNextAction(CStateCollection *state), thsi function must be implemented by all subclasses. Agent controllers have an own action set they can choose from, but the agent controllers must return one action which is member of the allocated semi MDP's action set. So the controller navigating the agent can only choose from primitive actions.


Constructor & Destructor Documentation

CAgentController::CAgentController CActionSet actions  ) 
 

Constructor for the controller, sets the agent controllers action set.

virtual CAgentController::~CAgentController  )  [virtual]
 

Member Function Documentation

virtual CAction* CAgentController::getNextAction CStateCollection state,
CActionDataSet data = NULL
[pure virtual]
 

Virtual function for returning the action for the specified state, must be implemented by all subclasses.

Implemented in CActorFromActionValue, CActorForMultipleAgents, CAgentStatisticController, CDeterministicController, CBatchLearningPolicy, CContinuousActionController, CSubGoalController, CHierarchicalController, CMultiPoleController, CMultiPoleDiscreteController, CQGreedyPolicy, CGraphController, and CAdaptiveTargetGraphController.


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