class Cell


Definition#include <VQ/include/Cell.h>
InheritsObject (data-flow)
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Methods

Protected Members


Detailed Description

int dimension

[protected]

int numberClasses

[protected]

bool terminal

[protected]

Cell * first

[protected]

Cell * second

[protected]

float threshold

[protected]

int splitDimension

[protected]

int cellID

[protected]

 Cell (int _dimension, int _numberClasses) : dimension(_dimension) , numberClasses (_numberClasses) , terminal(true) , first(NULL) , second(NULL) , cellID (-1)

 Cell ()

 Cell (const Cell &)

Cell ()

void  recursiveSplit (const vector<pair<int, float *> > &data, int level = 2)

void  split (const vector<pair<int, float *> > &data, int &bestDim, float &bestThreshold)

void  findThreshold (const vector<pair<int, float *> > &data, int dim, float &thresh, float &score)

int  setNumbering (int start=0)

int  belongs (float *vect)

[const]

void  calcTemplate (const vector<float *> &features, vector<int> &templ)

[const]

void  printOn (ostream &out)

[const]

Reimplemented from Object.

void  readFrom (istream &in)

Reimplemented from Object.

friend istream & operator >> (istream &in, Cell &cell)


Generated by: jmvalin@usw-pr-shell2 on Mon Jun 24 00:06:43 2002, using kdoc 2.0a40.