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

int Impala::Core::Feature::RandomTree::GetCodeWord ( const Vector::VectorReal64 v  )  [inline]

Definition at line 66 of file RandomTree.h.

References GetCodeWord(), ILOG_DEBUG, mCodeWord, mLeft, mRight, mSplitDimension, and mSplitValue.

Referenced by GetCodeWord(), and Impala::Core::Feature::TestRandomTree::testGetCodeword().

00067     {
00068         ILOG_DEBUG("GetCodeWord mCW="<<mCodeWord<<" mD="<<mSplitDimension<<
00069                    " mV="<<mSplitValue);
00070         if(mCodeWord >= 0) //if this is a leaf
00071             return mCodeWord;
00072         ILOG_DEBUG("left="<<(int*)mLeft<<" right="<<(int*)mRight);
00073         if(v[mSplitDimension] < mSplitValue)
00074             return mLeft->GetCodeWord(v);
00075         return mRight->GetCodeWord(v);
00076     }

Here is the call graph for this function:


Generated on Thu Jan 13 09:19:29 2011 for ImpalaSrc by  doxygen 1.5.1