#include <MultipleModels.hh>
Public Member Functions | |
void | createModels () |
MultipleModels (int id, int nInput, int nOutput, int modelType, Random rng) | |
virtual std::vector< float > | testInstance (std::vector< float > input) |
virtual bool | trainInstance (std::vector< float > input, std::vector< float > output) |
virtual | ~MultipleModels () |
Private Attributes | |
const int | id |
std::vector< Model * > | models |
const int | nInput |
const int | nOutput |
Random | rng |
const int | type |
Multiple Models
Definition at line 11 of file MultipleModels.hh.
MultipleModels::MultipleModels | ( | int | id, |
int | nInput, | ||
int | nOutput, | ||
int | modelType, | ||
Random | rng | ||
) |
Definition at line 11 of file MultipleModels.cc.
MultipleModels::~MultipleModels | ( | ) | [virtual] |
Definition at line 27 of file MultipleModels.cc.
void MultipleModels::createModels | ( | ) |
Definition at line 74 of file MultipleModels.cc.
std::vector< float > MultipleModels::testInstance | ( | std::vector< float > | input | ) | [virtual] |
Definition at line 56 of file MultipleModels.cc.
bool MultipleModels::trainInstance | ( | std::vector< float > | input, |
std::vector< float > | output | ||
) | [virtual] |
Definition at line 31 of file MultipleModels.cc.
const int MultipleModels::id [private] |
Definition at line 32 of file MultipleModels.hh.
std::vector<Model*> MultipleModels::models [private] |
Definition at line 40 of file MultipleModels.hh.
const int MultipleModels::nInput [private] |
Definition at line 33 of file MultipleModels.hh.
const int MultipleModels::nOutput [private] |
Definition at line 34 of file MultipleModels.hh.
Random MultipleModels::rng [private] |
Definition at line 37 of file MultipleModels.hh.
const int MultipleModels::type [private] |
Definition at line 35 of file MultipleModels.hh.