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

virtual void Impala::Core::Feature::FeatureTable::Dump ( int  from = 0,
int  to = -1 
) [inline, virtual]

Definition at line 373 of file FeatureTable.h.

References Impala::Core::Table::TableTem< Col1T, Col2T, Col3T, Col4T, Col5T, Col6T, Col7T, Col8T, Col9T >::Capacity(), Impala::Core::Table::TableTem< Col1T, Col2T, Col3T, Col4T, Col5T, Col6T, Col7T, Col8T, Col9T >::Get1(), Impala::Core::Table::TableTem< Col1T, Col2T, Col3T, Col4T, Col5T, Col6T, Col7T, Col8T, Col9T >::Get2(), Impala::Core::Table::TableTem< Col1T, Col2T, Col3T, Col4T, Col5T, Col6T, Col7T, Col8T, Col9T >::GetColName(), GetFeatureVectorLength(), and Impala::Core::Table::Table::Size().

Referenced by Impala::Core::Training::KernelMatrix::Dump(), Impala::Core::Feature::FeatureTableSet::Dump(), and Dump().

00374     {
00375         if (to == -1 || to > Size())
00376             to = Size();
00377         if (to < from)
00378             to = from;
00379         std::cout << "Dumping table from " << from << " to " << to
00380                   << " (table size=" << Size() << ", capacity=" << Capacity()
00381                   << ", featureLen=" << GetFeatureVectorLength() << ")"
00382                   << std::endl;
00383         for (int i=0 ; i<2 ; i++)
00384             std::cout << i+1 << "=" << GetColName(i+1) << ", ";
00385         std::cout << std::endl;
00386         for (int i=from ; i<to ; i++)
00387         {
00388             std::cout << QuidObj(Get1(i)) << ", " << Get2(i) << std::endl;
00389         }
00390         std::cout << std::endl;
00391     }

Here is the call graph for this function:


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