Split table in subtables depending on this nodes id and the number of nodes if partcount == 1 the the full table is returned.
Definition at line 120 of file mainPrecomputeKernelMatrix.cpp. References Impala::Core::Feature::FeatureTable::GetFeatureDefinition(), Impala::Core::Feature::FeatureTable::GetFeatureVectorLength(), ILOG_VAR, Impala::Core::Table::Select(), and Impala::Core::Table::Table::Size(). Referenced by ComputeMatrix(). 00121 { 00122 ILOG_VAR(Impala.Application.Precompute.GetPartial); 00123 Feature::FeatureTable* part = 00124 new Feature::FeatureTable(f->GetFeatureDefinition(), 0, 00125 f->GetFeatureVectorLength()); 00126 DistributedAccess::IndexConverter indexConvert(f->Size(), partcount); 00127 int from = indexConvert.PartToIndex(partnumber); 00128 int to = indexConvert.PartToIndex(partnumber + 1); 00129 Table::Select(part, f, from, to, true); 00130 return part; 00131 }
Here is the call graph for this function: ![]()
|