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

int Impala::Core::Trec::SearchJudge::GetTopicIdx ( String  name  )  [inline, private]

Definition at line 171 of file SearchJudge.h.

References mTopicName, mTopicNrJudged, and mTopicNrRelevant.

Referenced by GetNrJudged(), GetNrRelevant(), and Stats().

00172     {
00173         for (int i=0 ; i<mTopicName.size() ; i++)
00174             if (mTopicName[i] == name)
00175                 return i;
00176         mTopicName.push_back(name);
00177         mTopicNrJudged.push_back(0);
00178         mTopicNrRelevant.push_back(0);
00179         return mTopicName.size() - 1;
00180     }


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