Lines Matching refs:alpha_i
614 double alpha_i = alpha[i]; in solve_generic() local
617 G[j] += alpha_i*Q_i[j]; in solve_generic()
626 double old_alpha_i, old_alpha_j, alpha_i, alpha_j; in solve_generic() local
649 alpha_i = old_alpha_i = alpha[i]; in solve_generic()
656 double diff = alpha_i - alpha_j; in solve_generic()
657 alpha_i += delta; in solve_generic()
663 alpha_i = diff; in solve_generic()
665 else if( diff <= 0 && alpha_i < 0 ) in solve_generic()
667 alpha_i = 0; in solve_generic()
671 if( diff > C_i - C_j && alpha_i > C_i ) in solve_generic()
673 alpha_i = C_i; in solve_generic()
679 alpha_i = C_j + diff; in solve_generic()
686 double sum = alpha_i + alpha_j; in solve_generic()
687 alpha_i -= delta; in solve_generic()
690 if( sum > C_i && alpha_i > C_i ) in solve_generic()
692 alpha_i = C_i; in solve_generic()
698 alpha_i = sum; in solve_generic()
704 alpha_i = sum - C_j; in solve_generic()
706 else if( sum <= C_j && alpha_i < 0 ) in solve_generic()
708 alpha_i = 0; in solve_generic()
714 alpha[i] = alpha_i; in solve_generic()
720 delta_alpha_i = alpha_i - old_alpha_i; in solve_generic()