Definition at line 188 of file ActiveLearnEngine.h. References Impala::Util::Database::GetFilePath(), GetID(), Impala::Core::Table::SimilarityTableSet::GetRankTable(), ILOG_DEBUG, Impala::Core::Table::SimilarityTableSet::MakeFromFile(), and mALDatabase. 00189 { 00190 ILOG_DEBUG("Locating results..."); 00191 00192 String dir = 00193 "SimilarityIndex/conceptsActiveLearn.txt/activelearn/activelearn"; 00194 00195 String path = mALDatabase->GetFilePath(dir, "names.txt", false, false); 00196 Core::Table::SimilarityTableSet *conceptSet = 00197 Core::Table::SimilarityTableSet::MakeFromFile(path, mALDatabase); 00198 00199 Core::Table::SimilarityTableSet::RankTableType* rank = conceptSet->GetRankTable(GetID()); 00200 00201 //ShotResultList out; 00202 00203 if (!rank) 00204 { 00205 ILOG_DEBUG("ID " << GetID() << " not (yet) found."); 00206 delete conceptSet; 00207 return false; 00208 } 00209 delete conceptSet; 00210 ILOG_DEBUG("ID " << GetID() << " found!"); 00211 return true; 00212 }
Here is the call graph for this function:
|