Lines Matching refs:utility
51 int *utility;
190 * Add the points in the low utility cell to its closest cell. Split the high
191 * utility cell, putting the separed points in the (now empty) low utility
231 if (elbg->numCB*elbg->utility[i] > elbg->error)
232 inc += elbg->utility[i];
242 elbg->utility[idx] = newutility;
249 * and update elbg->error, elbg->utility and elbg->nearest_cb.
252 * @param idx {luc (low utility cell, huc (high utility cell), cluc (closest cell to low utility cell)}
266 olderror += elbg->utility[idx[j]];
311 if (elbg->numCB*elbg->utility[idx[0]] < elbg->error) {
371 elbg->utility = av_malloc(numCB*sizeof(int));
383 memset(elbg->utility, 0, numCB*sizeof(int));
402 elbg->utility[elbg->nearest_cb[i]] += dist_cb[i];
431 av_free(elbg->utility);