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

SVR_Q::SVR_Q ( const svm_problem prob,
const svm_parameter param 
) [inline]

Definition at line 1189 of file svm.cpp.

References buffer, cache, svm_parameter::cache_size, index, svm_problem::l, l, next_buffer, and sign.

01190         :Kernel(prob.l, prob.x, param)
01191         {
01192                 l = prob.l;
01193                 cache = new Cache(l,(int)(param.cache_size*(1<<20)));
01194                 sign = new schar[2*l];
01195                 index = new int[2*l];
01196                 for(int k=0;k<l;k++)
01197                 {
01198                         sign[k] = 1;
01199                         sign[k+l] = -1;
01200                         index[k] = k;
01201                         index[k+l] = k;
01202                 }
01203                 buffer[0] = new Qfloat[2*l];
01204                 buffer[1] = new Qfloat[2*l];
01205                 next_buffer = 0;
01206         }


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