Zinnia: zinnia::Trainer Class Reference

# zinnia::Trainer Class Reference

`#include <zinnia.h>`

List of all members.

## Public Member Functions
virtual bool | add (const Character &character)=0
virtual void | clear ()=0
virtual bool | train (const char *filename)=0
virtual const char * | what ()=0
virtual | ~Trainer ()
## Static Public Member Functions
static bool | convert (const char *txt_model, const char *binary_model, double compression_threshold)
static bool | makeHeader (const char *txt_model, const char *header_file, const char *name, double compression_threshold)
static Trainer * | create ()

## Constructor & Destructor Documentation

virtual zinnia::Trainer::~Trainer | ( |  | ) | `[inline, virtual]`

## Member Function Documentation

virtual bool zinnia::Trainer::add | ( | const Character & | character | ) | `[pure virtual]`

virtual void zinnia::Trainer::clear | ( |  | ) | `[pure virtual]`

virtual bool zinnia::Trainer::train | ( | const char * | filename | ) | `[pure virtual]`

static bool zinnia::Trainer::convert | ( | const char * | txt_model,
|  | const char * | binary_model,
|  | double | compression_threshold |
| ) |  |  | `[static]`

static bool zinnia::Trainer::makeHeader | ( | const char * | txt_model,
|  | const char * | header_file,
|  | const char * | name,
|  | double | compression_threshold |
| ) |  |  | `[static]`

virtual const char* zinnia::Trainer::what | ( |  | ) | `[pure virtual]`

static Trainer* zinnia::Trainer::create | ( |  | ) | `[static]`

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

- /home/taku/.trunk/zinnia/zinnia.h