Definition at line 137 of file ActiveLearnEngineQuids.h. References Impala::Util::Database::GetFilePath(), GetID(), Impala::Core::Table::SimilarityTableSet::GetRankTable(), ILOG_DEBUG, Impala::Core::Table::SimilarityTableSet::MakeFromFile(), and mALDatabase. 00138 { 00139 ILOG_DEBUG("Locating results..."); 00140 00141 String dir = 00142 "SimilarityIndex/conceptsActiveLearn.txt/activelearn/activelearn"; 00143 00144 String path = mALDatabase->GetFilePath(dir, "names.txt", false, false); 00145 Core::Table::SimilarityTableSet *conceptSet = 00146 Core::Table::SimilarityTableSet::MakeFromFile(path, mALDatabase); 00147 00148 Core::Table::SimilarityTableSet::RankTableType* rank = conceptSet->GetRankTable(GetID()); 00149 00150 //QuidResultList out; 00151 00152 if (!rank) 00153 { 00154 ILOG_DEBUG("ID " << GetID() << " not (yet) found."); 00155 delete conceptSet; 00156 return false; 00157 } 00158 delete conceptSet; 00159 ILOG_DEBUG("ID " << GetID() << " found!"); 00160 return true; 00161 }
Here is the call graph for this function:
|