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

CActorForMultipleAgents Class Reference

#include <cactorcritic.h>

Inheritance diagram for CActorForMultipleAgents:

CActor CAgentController CErrorListener CActionObject CParameterObject CParameterObject CParameters CParameters List of all members.


Public Member Functions

  CActorForMultipleAgents (CActionSet *actions)
virtual  ~CActorForMultipleAgents ()
void  addActor (CActor *actor, CAgentController *policy)
virtual void  receiveError (double critic, CStateCollection *state, CAction *action, CActionData *data)
  interface function for the actors

virtual CAction getNextAction (CStateCollection *state, CActionDataSet *dataset)
  Virtual function for returning the action for the specified state, must be implemented by all subclasses.



Protected Attributes

std::list< CActor * > *  actors
std::list< CAgentController * > *  actionSets
unsigned int  numActions

Constructor & Destructor Documentation

CActorForMultipleAgents::CActorForMultipleAgents CActionSet actions  ) 
 
virtual CActorForMultipleAgents::~CActorForMultipleAgents  )  [virtual]
 

Member Function Documentation

void CActorForMultipleAgents::addActor CActor actor,
CAgentController policy
 
virtual CAction* CActorForMultipleAgents::getNextAction CStateCollection state,
CActionDataSet dataset
[virtual]
 

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

Implements CAgentController.

virtual void CActorForMultipleAgents::receiveError double  critic,
CStateCollection state,
CAction action,
CActionData data
[virtual]
 

interface function for the actors

The actor gets a critic for a given state action pair. Then he has to adopt his policy according to the critic.

Implements CActor.


Member Data Documentation

std::list<CAgentController *>* CActorForMultipleAgents::actionSets [protected]
 
std::list<CActor *>* CActorForMultipleAgents::actors [protected]
 
unsigned int CActorForMultipleAgents::numActions [protected]
 

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