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

bool Impala::Core::Training::Equals ( const svm_problem *  p1,
const svm_problem *  p2 
)

Definition at line 67 of file Equals.h.

References Equals().

00068 {
00069     if(p1->l != p2->l)
00070         return false;
00071     for(int i=0 ; i<p1->l ; ++i)
00072     {
00073         if(p1->y[i] != p2->y[i])
00074             return false;
00075         if(!Equals(p1->x[i], p2->x[i]))
00076             return false;
00077     }
00078     return true;
00079 }

Here is the call graph for this function:


Generated on Thu Jan 13 09:21:09 2011 for ImpalaSrc by  doxygen 1.5.1