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

CQFunctionComperator Class Reference

Comperator for 2 Q-Functions. More...

#include <canalyzer.h>

Inheritance diagram for CQFunctionComperator:

CFunctionComperator CRewardFunction List of all members.


Public Member Functions

  CQFunctionComperator (CStateProperties *modelState, std::list< CStateModifier * > *modifiers, CAbstractQFunction *qFunction1, CAbstractQFunction *qFunction2, CAction *action)
virtual  ~CQFunctionComperator ()


Protected Member Functions

virtual double  getValue (int numFunc, CStateCollection *state)
  Get the value of the numFunc function for the given state.



Protected Attributes

CAbstractQFunction qFunction1
CAbstractQFunction qFunction2
CAction action

Detailed Description

Comperator for 2 Q-Functions.

The 2 Q-Functions are compared for the given action in the constructor. See the description of the super class for more details.


Constructor & Destructor Documentation

CQFunctionComperator::CQFunctionComperator CStateProperties modelState,
std::list< CStateModifier * > *  modifiers,
CAbstractQFunction qFunction1,
CAbstractQFunction qFunction2,
CAction action
 
virtual CQFunctionComperator::~CQFunctionComperator  )  [inline, virtual]
 

Member Function Documentation

virtual double CQFunctionComperator::getValue int  numFunc,
CStateCollection state
[protected, virtual]
 

Get the value of the numFunc function for the given state.

Implements CFunctionComperator.


Member Data Documentation

CAction* CQFunctionComperator::action [protected]
 
CAbstractQFunction* CQFunctionComperator::qFunction1 [protected]
 
CAbstractQFunction* CQFunctionComperator::qFunction2 [protected]
 

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