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

void Impala::Core::Feature::TestRandomTree::testGetSplit (  )  [inline]

Definition at line 78 of file TestRandomTree.h.

References Impala::Core::Feature::RandomTree::GetSplit().

00079     {
00080         RandomTree t1(3);
00081         int dim;
00082         double val;
00083         t1.GetSplit(dim, val);
00084         CPPUNIT_ASSERT_EQUAL(-1, dim);
00085         CPPUNIT_ASSERT_EQUAL(-1., val);
00086         RandomTree t2(2, 4., 0, 0);
00087         t2.GetSplit(dim, val);
00088         CPPUNIT_ASSERT_EQUAL(2, dim);
00089         CPPUNIT_ASSERT_EQUAL(4., val);
00090     }

Here is the call graph for this function:


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