Home || Architecture || Video Search || Visual Search || Scripts || Applications || Important Messages || OGL || Src

void Solver::swap_index ( int  i,
int  j 
) [protected]

Definition at line 409 of file svm.cpp.

References active_set, alpha, alpha_status, b, G, G_bar, Q, swap(), Kernel::swap_index(), and y.

Referenced by Solver_NU::do_shrinking(), and do_shrinking().

00410 {
00411         Q->swap_index(i,j);
00412         std::swap(y[i],y[j]);
00413         std::swap(G[i],G[j]);
00414         std::swap(alpha_status[i],alpha_status[j]);
00415         std::swap(alpha[i],alpha[j]);
00416         std::swap(b[i],b[j]);
00417         std::swap(active_set[i],active_set[j]);
00418         std::swap(G_bar[i],G_bar[j]);
00419 }

Here is the call graph for this function:


Generated on Fri Mar 19 10:32:36 2010 for ImpalaSrc by  doxygen 1.5.1