Lines Matching defs:lab
750 * stuff the partion group labels in lab
754 solution(int* lab, int label, size_t* sol, int beg, int end)
760 label = solution(lab, label, sol, beg, i);
762 lab[beg] = label;
771 list(Sfio_t* sp, int* lab, size_t row)
780 if (g != lab[i])
782 g = lab[i];
787 for (j = i + 1; j < row && lab[j] == g && state.map[j] == (state.map[j - 1] + 1); j++);
803 reorder_heuristic(Reorder_method_t* method, unsigned char* buf, unsigned char* dat, int* lab, size_t row, size_t tot)
1071 * collect the order in ord and the partition labels in lab
1090 lab[fp->member[i]] = j;
1096 lab[i] = ++j;
1123 reorder_tsp(Reorder_method_t* method, unsigned char* buf, unsigned char* dat, int* lab, size_t row, size_t tot)
1221 lab[i] = cycle[self[i]];
1231 lab[i] = j;
1235 lab[i] = j;
1452 int* lab;
1721 if (!(lab = newof(0, int, row, 0)))
1722 error(ERROR_SYSTEM|3, "out of space [lab]");
1725 lab[n] = pz->part->lab[n];
1735 (*reorder_method->fun)(reorder_method, buf, dat, lab, row, tot);
1762 * gather the optimal partition group labels in lab
1765 solution(lab, 0, sol, 0, row - 1);
1795 list(sfstdout, lab, row);