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

Util::IOBuffer* Impala::Core::DataFactory::MakeBestFile ( String  concept,
bool  toWrite 
) [inline]

Definition at line 239 of file DataFactory.h.

References Impala::Core::Database::RawDataSet::GetFilePathConceptModel(), Impala::Util::Database::GetIOBuffer(), ILOG_INFO, mConceptSet, mDataSet, mDb, mFeatureDef, and mModelType.

Referenced by Impala::Core::Training::Factory::GetBestFileParams().

00240     {
00241         String name = concept+".best";
00242         String filename = mDataSet->GetFilePathConceptModel
00243             (mConceptSet, mModelType, mFeatureDef, name, toWrite, true);
00244         if(filename == "")
00245             return 0;
00246         ILOG_INFO("MakeBestFile: opening this filename: "<<filename);
00247         Util::IOBuffer* buf = mDb->GetIOBuffer(filename, !toWrite, false, "tmp", 0, true);
00248         // perhaps we should do some checking?
00249         return buf;
00250     }

Here is the call graph for this function:


Generated on Fri Mar 19 10:55:51 2010 for ImpalaSrc by  doxygen 1.5.1