Definition at line 40 of file KernelMatrixRepositoryInFile.h. References GetDir(), Impala::Persistency::KernelMatrixLocator::GetFeature(), Impala::Persistency::RepositoryInFileSystem::GetFile(), Impala::Persistency::KernelMatrixLocator::GetIsIndex(), Impala::Util::Read(), RepFS(), and Impala::Persistency::File::Valid(). 00041 { 00042 if (loc.GetIsIndex()) 00043 { 00044 DistributedAccess* da = DistributedAccessRepository().Get(loc); 00045 KernelMatrix* res = new KernelMatrix(da); 00046 return res; 00047 } 00048 00049 String dir = GetDir(loc, false); 00050 String fName = loc.GetFeature() + ".tab"; 00051 File file = RepFS().GetFile(loc, dir, fName, false, false); 00052 if (!file.Valid()) 00053 return 0; 00054 00055 Core::Feature::FeatureDefinition def("cache"); 00056 FeatureTable* tab = new FeatureTable(def); 00057 Read(tab, file); 00058 KernelMatrix* res = new KernelMatrix(tab); 00059 return res; 00060 }
Here is the call graph for this function: ![]()
|