Lines Matching refs:d2s
263 std::vector<float> d2s(binsDim2); in greedySolution2() local
264 d2s[0] = 0; in greedySolution2()
267 d2s[c+1] = d2s[c]; in greedySolution2()
268 for(r=0; r<binsDim1; r++) d2s[c+1]-= D[r][c]; in greedySolution2()
289 … bUpward = (r<binsDim1-1) && (fabs(dFlow+d2s[c+1]) > fabs(dFlow+d1s[r+1])); // Move upward or right in greedySolution2()
308 d2s[c+1] += dFlow; // auxilary matrix maintanence in greedySolution2()
358 std::vector<float> d2s(binsDim2); in greedySolution3() local
359 d2s[0] = 0; in greedySolution3()
362 d2s[i2+1] = d2s[i2]; in greedySolution3()
366 d2s[i2+1] -= D[i1][i2][i3]; in greedySolution3()
397 f2 = (i2<(binsDim2-1))?fabs(dFlow+d2s[i2+1]):std::numeric_limits<float>::max(); in greedySolution3()
414 d2s[i2+1] += dFlow; in greedySolution3()