Searched refs:worst_index (Results 1 – 5 of 5) sorted by relevance
145 int worst_index = IndexOfWorst(); in PopWorst() local146 if (worst_index < 0) { in PopWorst()151 *entry = heap_[worst_index]; in PopWorst()157 int hole_index = SiftUp(worst_index, hole_pair); in PopWorst()174 int worst_index = heap_size - 1; in IndexOfWorst() local175 int end_parent = ParentNode(worst_index); in IndexOfWorst()176 for (int i = worst_index - 1; i > end_parent; --i) { in IndexOfWorst()177 if (heap_[worst_index] < heap_[i]) { in IndexOfWorst()178 worst_index = i; in IndexOfWorst()181 return worst_index; in IndexOfWorst()
72 int worst_index = -1; in vobject_refresh_timeout_cb() local95 worst_index = n; in vobject_refresh_timeout_cb()105 worst_time, worst_index ); in vobject_refresh_timeout_cb()
527 int worst_index = -1; in select_blob_to_split() local567 worst_index = x; in select_blob_to_split()595 return worst_index_near_fragment != -1 ? worst_index_near_fragment : worst_index; in select_blob_to_split()
1378 const IndexType worst_index = result_set.worstIndex(); in searchLevel() local1386 if (dist < worst_dist || (dist <= worst_dist && index < worst_index) ) { in searchLevel()
7295 long worst_index = function_values (N,1); local7299 if (c != worst_index) {7312 t -= simplex [worst_index];7362 long worst_index = function_values (N,1); local7371 t -= simplex [worst_index];7399 replace_point (cv, contraction_value, worst_index, N);