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

Table::ScoreTable* Impala::Core::Training::TesterIOHelper::ReadRanking ( String  type  )  [inline]

Definition at line 112 of file TesterIoHelper.h.

References AssertFileFound(), cConceptSet, cFeature, cModel, Impala::Core::Database::RawDataSet::GetDatabase(), Impala::Core::Database::RawDataSet::GetFilePathConceptModel(), mReference, RankingFilename(), and Impala::Core::Table::Read().

Referenced by Impala::Core::Training::Tester::TestApply(), and Impala::Core::Training::Tester::TestAveragePrecision().

00113     {
00114         String filename = type + RankingFilename();
00115         Table::ScoreTable* ranking = new Table::ScoreTable;
00116         String path = mReference->GetFilePathConceptModel
00117             (cConceptSet, cModel, cFeature, filename, false, false);
00118         AssertFileFound(path, "could not read ranking " + filename);
00119         Read(ranking, path, mReference->GetDatabase());
00120         return ranking;
00121     }

Here is the call graph for this function:


Generated on Fri Mar 19 11:24:36 2010 for ImpalaSrc by  doxygen 1.5.1