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

void Impala::Core::Table::SimilarityTableSet::SetSimTable ( int  id,
ScoreTable scores 
) [inline]

Definition at line 227 of file SimilarityTableSet.h.

References Impala::Core::Table::Copy(), Impala::Core::Table::QuidTable::Dump(), Impala::Core::Table::TableTem< Col1T, Col2T, Col3T, Col4T, Col5T, Col6T, Col7T, Col8T, Col9T >::GetColumn1(), Impala::Core::Table::TableTem< Col1T, Col2T, Col3T, Col4T, Col5T, Col6T, Col7T, Col8T, Col9T >::GetColumn2(), Impala::Core::Table::ScoreTable::GetQuidTable(), ILOG_ERROR, ILOG_INFO, mQuids, mSims, Impala::Core::Table::Table::SetSize(), and Impala::Core::Table::Table::Size().

00228     {
00229         ILOG_INFO("score table size = " << scores->Size());
00230         if(scores->Size() != mQuids->Size())
00231         {
00232             ILOG_ERROR("SetSimTable: size of quids and ScoreTable do not match");
00233             scores->GetQuidTable()->Dump(0, 0, -1);
00234             mQuids->Dump(0, 0, -1);
00235             exit(1);
00236         }
00237         SimTableType* dst = mSims[id];
00238         dst->SetSize(scores->Size());
00239         Copy(dst->GetColumn1(), scores->GetColumn2(), scores->Size());
00240     }

Here is the call graph for this function:


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