Definition at line 67 of file Equals.h. References Equals(), svm_problem::l, svm_problem::x, and svm_problem::y. 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:
|