Home || Visual Search || Applications || Architecture || Important Messages || OGL || Src

Impala::Core::Feature::RandomTree Class Reference

Representation of a random tree (a decision tree that maps a feature vector to a code word). More...

#include <RandomTree.h>

Collaboration diagram for Impala::Core::Feature::RandomTree:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 RandomTree (int codeword)
 RandomTree (int codeword, int count)
 RandomTree (int splitDimension, double splitValue, RandomTree *left, RandomTree *right)
 ~RandomTree ()
int GetCodeWord (const Vector::VectorReal64 &v)
void GetSplit (int &dimension, double &value)
void Dump (std::ostream &os, int nrNodes)
void DumpCount (std::ostream &os)
bool operator== (const RandomTree &that)
bool operator!= (const RandomTree &that)

Private Member Functions

void Dump (std::ostream &os, int level, int &nrNodes)

Private Attributes

int mCodeWord
int mCount
int mSplitDimension
double mSplitValue
RandomTreemLeft
RandomTreemRight
 ILOG_VAR_DECL

Friends

void Write (RandomTree *, RandomTreeTable *)
 Writes the tree to the end of the table.

Detailed Description

Representation of a random tree (a decision tree that maps a feature vector to a code word).

Creation of a RandomTree for a dataset is implementated in MakeRandomTree.h

Definition at line 17 of file RandomTree.h.


The documentation for this class was generated from the following file:
Generated on Thu Jan 13 09:19:29 2011 for ImpalaSrc by  doxygen 1.5.1