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

CBatchQDataGenerator Class Reference

#include <cbatchlearning.h>

Inheritance diagram for CBatchQDataGenerator:

CBatchDataGenerator CParameterObject CParameters List of all members.


Public Member Functions

  CBatchQDataGenerator (CQFunction *qFunction, CSupervisedQFunctionLearner *learner, CStateProperties *inputState=NULL)
  CBatchQDataGenerator (CQFunction *qFunction, CSupervisedQFunctionWeightedLearner *learner, CStateProperties *inputState=NULL)
  CBatchQDataGenerator (CActionSet *actions, CStateProperties *properties)
void  init (CQFunction *qFunction, CActionSet *actions, CStateProperties *properties)
virtual  ~CBatchQDataGenerator ()
virtual void  addInput (CStateCollection *state, CAction *action, double output, double weighting=1.0)
virtual void  trainFA ()
virtual void  resetPolicyEvaluation ()
virtual double  getValue (CStateCollection *state, CAction *action)
CDataSet getInputData (CAction *action)
CDataSet1D getOutputData (CAction *action)
CStateProperties getStateProperties (CAction *action)


Protected Attributes

std::map< CAction *, CDataSet * > *  inputMap
std::map< CAction *, CDataSet1D * > *  outputMap
std::map< CAction *, ColumnVector * > *  buffVectorMap
std::map< CAction *, CDataSet1D * > *  weightedMap
CQFunction qFunction
CStateProperties properties
CActionSet actions
CSupervisedQFunctionLearner learner
CSupervisedQFunctionWeightedLearner weightedLearner

Constructor & Destructor Documentation

CBatchQDataGenerator::CBatchQDataGenerator CQFunction qFunction,
CSupervisedQFunctionLearner learner,
CStateProperties inputState = NULL
 
CBatchQDataGenerator::CBatchQDataGenerator CQFunction qFunction,
CSupervisedQFunctionWeightedLearner learner,
CStateProperties inputState = NULL
 
CBatchQDataGenerator::CBatchQDataGenerator CActionSet actions,
CStateProperties properties
 
virtual CBatchQDataGenerator::~CBatchQDataGenerator  )  [virtual]
 

Member Function Documentation

virtual void CBatchQDataGenerator::addInput CStateCollection state,
CAction action,
double  output,
double  weighting = 1.0
[virtual]
 

Implements CBatchDataGenerator.

CDataSet* CBatchQDataGenerator::getInputData CAction action  ) 
 
CDataSet1D* CBatchQDataGenerator::getOutputData CAction action  ) 
 
CStateProperties* CBatchQDataGenerator::getStateProperties CAction action  ) 
 
virtual double CBatchQDataGenerator::getValue CStateCollection state,
CAction action
[virtual]
 

Implements CBatchDataGenerator.

void CBatchQDataGenerator::init CQFunction qFunction,
CActionSet actions,
CStateProperties properties
 
virtual void CBatchQDataGenerator::resetPolicyEvaluation  )  [virtual]
 

Implements CBatchDataGenerator.

virtual void CBatchQDataGenerator::trainFA  )  [virtual]
 

Implements CBatchDataGenerator.


Member Data Documentation

CActionSet* CBatchQDataGenerator::actions [protected]
 
std::map<CAction *, ColumnVector *>* CBatchQDataGenerator::buffVectorMap [protected]
 
std::map<CAction *, CDataSet *>* CBatchQDataGenerator::inputMap [protected]
 
CSupervisedQFunctionLearner* CBatchQDataGenerator::learner [protected]
 
std::map<CAction *, CDataSet1D *>* CBatchQDataGenerator::outputMap [protected]
 
CStateProperties* CBatchQDataGenerator::properties [protected]
 
CQFunction* CBatchQDataGenerator::qFunction [protected]
 
CSupervisedQFunctionWeightedLearner* CBatchQDataGenerator::weightedLearner [protected]
 
std::map<CAction *, CDataSet1D *>* CBatchQDataGenerator::weightedMap [protected]
 

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