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

CTorchVFunction Class Reference

#include <ctorchvfunction.h>

Inheritance diagram for CTorchVFunction:

CAbstractVFunction CStateObject CLearnDataObject CParameterObject CParameters List of all members.


Public Member Functions

  CTorchVFunction (CTorchFunction *torchFunction, CStateProperties *properties)
  Initialises the input sequence with one frame of size |continuousStates| + |discreteStates| of the properties object.

virtual  ~CTorchVFunction ()
virtual double  getValue (CState *state)
  Converts the state into an input sequence, tansfers the sequence to the machine and returns its output.



Protected Member Functions

void  getInputSequence (CState *state, Sequence *input)
  Converts the state in an torch sequence.



Protected Attributes

CTorchFunction torchFunction
Sequence *  input

Constructor & Destructor Documentation

CTorchVFunction::CTorchVFunction CTorchFunction torchFunction,
CStateProperties properties
 

Initialises the input sequence with one frame of size |continuousStates| + |discreteStates| of the properties object.

virtual CTorchVFunction::~CTorchVFunction  )  [virtual]
 

Member Function Documentation

void CTorchVFunction::getInputSequence CState state,
Sequence *  input
[protected]
 

Converts the state in an torch sequence.

the sequence has to have the frame size |continuousStates| + |discreteStates| of the state.

virtual double CTorchVFunction::getValue CState state  )  [virtual]
 

Converts the state into an input sequence, tansfers the sequence to the machine and returns its output.

Implements CAbstractVFunction.


Member Data Documentation

Sequence* CTorchVFunction::input [protected]
 
CTorchFunction* CTorchVFunction::torchFunction [protected]
 

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