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

void Impala::Core::Feature::RandomTree::Dump ( std::ostream &  os,
int  level,
int &  nrNodes 
) [inline, private]

Definition at line 125 of file RandomTree.h.

References Dump(), mCodeWord, mLeft, mRight, mSplitDimension, and mSplitValue.

00126     {
00127         if(nrNodes == 0)
00128             return;
00129         --nrNodes;
00130         for(int i=0 ; i<level ; ++i)
00131             os << "  ";
00132         if(mCodeWord >= 0)
00133             os <<"w:"<< mCodeWord << std::endl;
00134         else
00135         {
00136             os <<"d:"<< mSplitDimension <<" v:"<< mSplitValue << std::endl;
00137             mLeft->Dump(os, level+1, nrNodes);
00138             mRight->Dump(os, level+1, nrNodes);
00139         }
00140     }

Here is the call graph for this function:


Generated on Fri Mar 19 11:10:37 2010 for ImpalaSrc by  doxygen 1.5.1