Lines Matching defs:utility
51 int *utility;
183 * Add the points in the low utility cell to its closest cell. Split the high
184 * utility cell, putting the separed points in the (now empty) low utility
224 if (elbg->numCB*elbg->utility[i] > elbg->error)
225 inc += elbg->utility[i];
235 elbg->utility[idx] = newutility;
242 * and update elbg->error, elbg->utility and elbg->nearest_cb.
245 * @param indexes {luc (low utility cell, huc (high utility cell), cluc (closest cell to low utility cell)}
260 olderror += elbg->utility[idx[j]];
305 if (elbg->numCB*elbg->utility[idx[0]] < elbg->error) {
365 elbg->utility = av_malloc(numCB*sizeof(int));
376 memset(elbg->utility, 0, numCB*sizeof(int));
395 elbg->utility[elbg->nearest_cb[i]] += dist_cb[i];
424 av_free(elbg->utility);