class Machine

Object which can compute some outputs, given some inputs.

Inheritance:


Public Fields

[more]Sequence* outputs
The outputs of the machine

Public Methods

[more] Machine()
[more]virtual void forward(Sequence* sequence) = 0
Given a sequence, update outputs
[more]virtual void reset()
Reset the machine
[more]virtual void setDataSet(DataSet* dataset_)
Some machine depends on a dataset.


Inherited from Object:

Public Fields

oAllocator* allocator

Public Methods

ovoid addOption(const char* name, int size, void* ptr, const char* help="")
ovoid addIOption(const char* name, int* ptr, int init_value, const char* help="")
ovoid addROption(const char* name, real* ptr, real init_value, const char* help="")
ovoid addBOption(const char* name, bool* ptr, bool init_value, const char* help="")
ovoid addOOption(const char* name, Object** ptr, Object* init_value, const char* help="")
ovoid setOption(const char* name, void* ptr)
ovoid setIOption(const char* name, int option)
ovoid setROption(const char* name, real option)
ovoid setBOption(const char* name, bool option)
ovoid setOOption(const char* name, Object* option)
ovirtual void loadXFile(XFile* file)
ovirtual void saveXFile(XFile* file)
ovoid load(const char* filename)
ovoid save(const char* filename)
ovoid* operator new(size_t size, Allocator* allocator_=NULL)
ovoid* operator new(size_t size, Allocator* allocator_, void* ptr_)
ovoid operator delete(void* ptr)


Documentation

Object which can compute some outputs, given some inputs.

oSequence* outputs
The outputs of the machine

o Machine()

ovirtual void forward(Sequence* sequence) = 0
Given a sequence, update outputs

ovirtual void reset()
Reset the machine

ovirtual void setDataSet(DataSet* dataset_)
Some machine depends on a dataset. The trainer has to call this function when changing the dataset.


Direct child classes:
WeightedSumMachine
QCMachine
ParzenMachine
KNN
GradientMachine
BayesClassifierMachine
Author:
Ronan Collobert (collober@idiap.ch)

Alphabetic index HTML hierarchy of classes or Java



This page was generated with the help of DOC++.