Lines Matching refs:min_i
138 int min_i, int min_j,
715 int i, j, min_i = 0, min_j = 0; in icvIsOptimal() local
732 min_i = i; in icvIsOptimal()
739 enter_x->i = min_i; in icvIsOptimal()
910 int i, j, min_i = -1, min_j = -1; in icvRussel() local
972 min_i = -1; in icvRussel()
987 min_i = i; in icvRussel()
997 if( min_i < 0 ) in icvRussel()
1002 icvAddBasicVariable( state, min_i, min_j, prev_u_min_i, prev_v_min_j, &u_head ); in icvRussel()
1010 if( cur_v->val == cost[min_i][j] ) /* column j needs updating */ in icvRussel()
1075 int min_i, int min_j, in icvAddBasicVariable() argument
1081 if( state->s[min_i] < state->d[min_j] + state->weight * CV_EMD_EPS ) in icvAddBasicVariable()
1083 temp = state->s[min_i]; in icvAddBasicVariable()
1084 state->s[min_i] = 0; in icvAddBasicVariable()
1091 state->s[min_i] -= temp; in icvAddBasicVariable()
1095 state->is_x[min_i][min_j] = 1; in icvAddBasicVariable()
1098 end_x->i = min_i; in icvAddBasicVariable()
1100 end_x->next[0] = state->rows_x[min_i]; in icvAddBasicVariable()
1102 state->rows_x[min_i] = end_x; in icvAddBasicVariable()
1107 if( state->s[min_i] == 0 && u_head->next->next != 0 ) in icvAddBasicVariable()