Lines Matching refs:utility
52 int64_t *utility;
215 * Add the points in the low utility cell to its closest cell. Split the high
216 * utility cell, putting the separated points in the (now empty) low utility
256 if (elbg->num_cb * elbg->utility[i] > elbg->error)
257 inc += elbg->utility[i];
267 elbg->utility[idx] = newutility;
274 * and update elbg->error, elbg->utility and elbg->nearest_cb.
277 * @param idx {luc (low utility cell, huc (high utility cell), cluc (closest cell to low utility cell)}
292 olderror += elbg->utility[idx[j]];
337 if (elbg->num_cb * elbg->utility[idx[0]] < elbg->error) {
364 memset(elbg->utility, 0, elbg->num_cb * sizeof(*elbg->utility));
386 elbg->utility[elbg->nearest_cb[i]] += best_dist;
478 ALLOCATE_IF_NECESSARY(utility, num_cb, 1)
506 av_freep(&elbg->utility);