class Machine

Object which can compute some outputs, given some inputs.

Inheritance:


Public Fields

[more]int n_inputs
Number of inputs for the machine
[more]int n_outputs
Number of outputs
[more]List* outputs
The outputs of the machine.

Public Methods

[more] Machine()
[more]virtual void forward(List* inputs) = 0
Given inputs, update outputs.
[more]virtual void reset() = 0
Reset the machine


Inherited from Object:

Public Methods

ovirtual void init()
ovoid addOption(const char* name, int size, void* ptr, const char* help="", bool is_allowed_after_init=false)
ovoid addIOption(const char* name, int* ptr, int init_value, const char* help="", bool is_allowed_after_init=false)
ovoid addROption(const char* name, real* ptr, real init_value, const char* help="", bool is_allowed_after_init=false)
ovoid addBOption(const char* name, bool* ptr, bool init_value, const char* help="", bool is_allowed_after_init=false)
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)
ovirtual void loadFILE(FILE* file)
ovirtual void saveFILE(FILE* file)
ovoid load(const char* filename)
ovoid save(const char* filename)


Documentation

Object which can compute some outputs, given some inputs.

oint n_inputs
Number of inputs for the machine

oint n_outputs
Number of outputs

oList* outputs
The outputs of the machine. Usually, the list contains only one node.

The integer in each node is the number of components in the pointer ptr of this node.

The sum of these integers is n_outputs.

o Machine()

ovirtual void forward(List* inputs) = 0
Given inputs, update outputs. The integer in each node of inputs  is the number of components in the pointer ptr of this node. The sum of these integers is n_inputs.

ovirtual void reset() = 0
Reset the machine


Direct child classes:
WeightedSumMachine
QCMachine
ParzenMachine
KNN
GradientMachine
BayesClassifierMachine
Author:
Ronan Collobert (collober@iro.umontreal.ca)

Alphabetic index HTML hierarchy of classes or Java



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