Qualia
0.2
|
#include <Trainer.h>
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... | |
A trainer is able to train a function. This class does almost nothing, all the logic being deferred to subclasses.
Main subclasses:
Trainer::Trainer | ( | Function * | function | ) |
Constructor.
|
virtual |
|
virtual |
Reimplemented in TDTrainer, and BatchRLTrainer.
|
inline |
int Trainer::_nEpisodes |
The number of episodes this trainer went through (read-only).