Lines Matching refs:utility
53 int *utility;
201 * Add the points in the low utility cell to its closest cell. Split the high
202 * utility cell, putting the separate points in the (now empty) low utility
243 if (elbg->numCB*elbg->utility[i] > elbg->error)
244 inc += elbg->utility[i];
254 elbg->utility[idx] = newutility;
261 * and update elbg->error, elbg->utility and elbg->nearest_cb.
264 * @param idx {luc (low utility cell, huc (high utility cell), cluc (closest cell to low utility cell)}
278 olderror += elbg->utility[idx[j]];
323 if (elbg->numCB*elbg->utility[idx[0]] < elbg->error) {
383 elbg->utility = av_malloc_array(numCB, sizeof(int));
395 memset(elbg->utility, 0, numCB*sizeof(int));
414 elbg->utility[elbg->nearest_cb[i]] += dist_cb[i];
443 av_free(elbg->utility);