Qualia  0.2
Public Member Functions | Public Attributes | List of all members
Trainer Class Reference

#include <Trainer.h>

Inheritance diagram for Trainer:
Inheritance graph
[legend]
Collaboration diagram for Trainer:
Collaboration graph
[legend]

Public Member Functions

 Trainer (Function *function)
 Constructor. More...
 
virtual ~Trainer ()
 
int nEpisodes () const
 
virtual void init ()
 

Public Attributes

Function_function
 The function this Trainer is optimizing. More...
 
int _nEpisodes
 The number of episodes this trainer went through (read-only). More...
 

Detailed Description

A trainer is able to train a function. This class does almost nothing, all the logic being deferred to subclasses.

Main subclasses:

Constructor & Destructor Documentation

Trainer::Trainer ( Function function)

Constructor.

Trainer::~Trainer ( )
virtual

Member Function Documentation

void Trainer::init ( )
virtual

Reimplemented in TDTrainer, and BatchRLTrainer.

int Trainer::nEpisodes ( ) const
inline

Member Data Documentation

Function* Trainer::_function

The function this Trainer is optimizing.

int Trainer::_nEpisodes

The number of episodes this trainer went through (read-only).


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