Public Member Functions | Private Attributes
MultipleModels Class Reference

#include <MultipleModels.hh>

Inheritance diagram for MultipleModels:
Inheritance graph
[legend]

List of all members.

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

Detailed Description

Multiple Models

Definition at line 11 of file MultipleModels.hh.


Constructor & Destructor Documentation

MultipleModels::MultipleModels ( int  id,
int  nInput,
int  nOutput,
int  modelType,
Random  rng 
)

Definition at line 11 of file MultipleModels.cc.

Definition at line 27 of file MultipleModels.cc.


Member Function Documentation

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.


Member Data Documentation

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.

Definition at line 37 of file MultipleModels.hh.

const int MultipleModels::type [private]

Definition at line 35 of file MultipleModels.hh.


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


rl_agent
Author(s): Todd Hester
autogenerated on Thu Jun 6 2019 22:00:14