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

void Impala::Core::Table::SimilarityTableSet::DumpMatrix ( Database::RawDataSet set,
bool  dumpQuid 
) [inline]

Definition at line 725 of file SimilarityTableSet.h.

References Impala::Core::Table::TableTem< Col1T, Col2T, Col3T, Col4T, Col5T, Col6T, Col7T, Col8T, Col9T >::Get1(), GetSimTable(), ILOG_ERROR, mQuids, NrTables(), Impala::Core::Table::Table::Size(), and TableSize().

00726     {
00727         for (int i=0 ; i<TableSize() ; i++)
00728         {
00729             Quid quid = mQuids->Get1(i);
00730             if (dumpQuid)
00731             {
00732                 if (set)
00733                     std::cout << set->QuidToString(quid, true) << ", ";
00734                 else
00735                     std::cout << QuidObj(quid) << ", ";
00736             }
00737             for (int t=0 ; t<NrTables() ; t++)
00738             {
00739                 SimTableType* simTable = GetSimTable(t);
00740                 if ((i == 0) && (simTable->Size() != mQuids->Size()))
00741                 {
00742                     ILOG_ERROR("DumpMatrix: simtable size doesn't match");
00743                     return;
00744                 }
00745                 std::cout << simTable->Get1(i);
00746                 if (t < NrTables() - 1)
00747                     std::cout << ", ";
00748             }
00749             std::cout << std::endl;
00750         }
00751     }

Here is the call graph for this function:


Generated on Thu Jan 13 09:20:53 2011 for ImpalaSrc by  doxygen 1.5.1