MultiAgentDecisionProcess
QTableInterface Class Referenceabstract

QTableInterface is the abstract base class for Q(., a) functions. More...

#include <QTableInterface.h>

Inheritance diagram for QTableInterface:
[legend]

Public Member Functions

virtual QTableInterfaceClone () const =0
 Returns a pointer to a copy of this class. More...
 
virtual double Get (Index s_i, Index ja_i) const =0
 
virtual void Set (Index s_i, Index ja_i, double rew)=0
 
virtual ~QTableInterface ()
 

Detailed Description

QTableInterface is the abstract base class for Q(., a) functions.

It represents functions mapping from some domain (e.g. states, local states, histories, etc.) and some action domain (individual, joint or group actions) to a real number representing some form of payoff (long term reward, or immediate reward).

Note the argument of the functions defined here assume Q(s,a), but is should be clear that for s_i any general domain index may be used.

Constructor & Destructor Documentation

virtual QTableInterface::~QTableInterface ( )
inlinevirtual

Member Function Documentation

virtual QTableInterface* QTableInterface::Clone ( ) const
pure virtual

Returns a pointer to a copy of this class.

Implemented in RewardModelMappingSparseMapped, RewardModelMappingSparse, QTable, RewardModelMapping, and RewardModelDiscreteInterface.

virtual double QTableInterface::Get ( Index  s_i,
Index  ja_i 
) const
pure virtual
virtual void QTableInterface::Set ( Index  s_i,
Index  ja_i,
double  rew 
)
pure virtual