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

Table::QuidTable* Impala::Core::Training::TrainDataSrcKernelDistributed::CheckAnnoQuids ( Table::QuidTable mask  )  [inline, private]

Definition at line 132 of file TrainDataSrcKernelDistributed.h.

References Impala::Core::Table::TableTem< Col1T, Col2T, Col3T, Col4T, Col5T, Col6T, Col7T, Col8T, Col9T >::Get1(), Impala::Core::Table::QuidTable::GetIndex(), ILOG_ERROR, svm_node::index, mKernelQuids, and Impala::Core::Table::Table::Size().

00133     {
00134         bool miss = false;
00135         for(int i=0 ; i<mask->Size() ; ++i)
00136         {
00137             Quid q = mask->Get1(i);
00138             int index = mKernelQuids->GetIndex(q);
00139             if(index >= mKernelQuids->Size())
00140             {
00141                 if(miss == false)
00142                 {
00143                     ILOG_ERROR("invalid quids in annotation (keyframes/rkf mismatch?)");
00144                     ILOG_ERROR("CheckAnnoQuids: quids not found:");
00145                 }
00146                 miss = true;
00147                 std::cout << QuidObj(q) << "\t";
00148             }
00149         }
00150         if(miss)
00151         {
00152             ILOG_ERROR("these are the kernel quids:");
00153             //mKernelQuids->Dump(0, 0, -1);
00154             for(int i=0 ; i<mKernelQuids->Size() ; ++i)
00155             {
00156                 std::cout << QuidObj(mKernelQuids->Get1(i)) <<"\t";
00157             }
00158         }
00159         //Table::CriterionElement1InSet<Table::AnnotationTable> eq(mKernelQuids);
00160         //Table::CriterionElement2NotEquals<Table::AnnotationTable> neq(-1);
00161         //return Select(mask, eq);
00162     }

Here is the call graph for this function:


Generated on Fri Mar 19 11:25:02 2010 for ImpalaSrc by  doxygen 1.5.1