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

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

Definition at line 241 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().

00242     {
00243         ILOG_INFO("score table size = " << scores->Size());
00244         if(scores->Size() != mQuids->Size())
00245         {
00246             ILOG_ERROR("SetSimTable: size of quids and ScoreTable do not match");
00247             scores->GetQuidTable()->Dump(0, 0, -1);
00248             mQuids->Dump(0, 0, -1);
00249             exit(1);
00250         }
00251         SimTableType* dst = mSims[id];
00252         dst->SetSize(scores->Size());
00253         Copy(dst->GetColumn1(), scores->GetColumn2(), scores->Size());
00254     }

Here is the call graph for this function:


Generated on Fri Mar 19 11:20:52 2010 for ImpalaSrc by  doxygen 1.5.1