KJB
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Static Public Attributes | List of all members
spear::Trainer Class Reference

#include <Trainer.h>

Inheritance diagram for spear::Trainer:
spear::RCObject

Public Member Functions

 Trainer (const spear::ModelPtr &model)
 
void setVerbose (int v)
 
bool learn (IStream &, const std::string &modelDir)
 
- Public Member Functions inherited from spear::RCObject
void addReference ()
 
void removeReference ()
 

Static Public Attributes

static const int VERBOSE_LOW = 0
 
static const int VERBOSE_MEDIUM = 1
 
static const int VERBOSE_HIGH = 2
 

Additional Inherited Members

- Public Attributes inherited from spear::RCObject
unsigned short refCount
 
- Protected Member Functions inherited from spear::RCObject
 RCObject ()
 
 RCObject (const RCObject &rhs)
 
RCObjectoperator= (const RCObject &rhs)
 
virtual ~RCObject ()=0
 

Constructor & Destructor Documentation

Trainer::Trainer ( const spear::ModelPtr model)

Member Function Documentation

bool Trainer::learn ( IStream syn_stream,
const std::string &  modelDir 
)
void spear::Trainer::setVerbose ( int  v)
inline

Member Data Documentation

const int spear::Trainer::VERBOSE_HIGH = 2
static
const int spear::Trainer::VERBOSE_LOW = 0
static
const int spear::Trainer::VERBOSE_MEDIUM = 1
static

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