#include <RandomTree.h>
Collaboration diagram for Impala::Core::Feature::RandomTree:
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 |
RandomTree * | mLeft |
RandomTree * | mRight |
ILOG_VAR_DECL | |
Friends | |
void | Write (RandomTree *, RandomTreeTable *) |
Writes the tree to the end of the table. |
Creation of a RandomTree for a dataset is implementated in MakeRandomTree.h
Definition at line 17 of file RandomTree.h.