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

void Impala::Core::Trec::SearchJudge::Stats (  )  [inline]

Definition at line 56 of file SearchJudge.h.

References GetTopicIdx(), mJudgeTopic, mJudgeValue, mTopicName, mTopicNrJudged, and mTopicNrRelevant.

Referenced by Impala::Application::Util::DoJudgeConcepts(), Impala::Application::Util::DoTrecJudge(), Impala::Application::WindowTrecSearch::InitDataSearchJudge(), and Impala::Application::WindowTrecResult::ReadData().

00057     {
00058         for (int i=0 ; i<mJudgeTopic.size() ; i++)
00059         {
00060             int t = GetTopicIdx(mJudgeTopic[i]);
00061             mTopicNrJudged[t]++;
00062             if (mJudgeValue[i] == 1)
00063                 mTopicNrRelevant[t]++;
00064         }
00065         for (int t=0 ; t<mTopicName.size() ; t++)
00066         {
00067             std::cout << "Topic " << mTopicName[t]
00068                       << ", nr judged = " << mTopicNrJudged[t]
00069                       << ", nr relevant = " << mTopicNrRelevant[t] << std::endl;
00070         }
00071     }

Here is the call graph for this function:


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