template<class C1, class C2>
Sort columns first and second in descending order based on the values in the second column.
Definition at line 103 of file Sort.h. References ILOG_ERROR, ILOG_VAR, and Impala::Util::QuickSortDescCo(). Referenced by Impala::Core::Table::SimilarityTableSet::ComputeRank(), and Impala::Core::Table::SimilarityTableSet::ComputeRanks(). 00104 { 00105 ILOG_VAR(Impala.Core.Column.SortDescending); 00106 if ((nrElem > first->Capacity()) || (nrElem > second->Capacity())) 00107 { 00108 ILOG_ERROR("Incompatible sizes"); 00109 return; 00110 } 00111 00112 // for some reason Dennis and Michiel chose different calling order for 00113 // the sorted and unsorted parameter 00114 Util::QuickSortDescCo(second->GetData(), first->GetData(), 0, nrElem - 1); 00115 }
Here is the call graph for this function:
|