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

Qfloat* SVC_Q::get_Q ( int  i,
int  len 
) const [inline, virtual]

Implements Kernel.

Definition at line 1122 of file svm.cpp.

References cache, Cache::get_data(), Kernel::kernel_function, and y.

01123         {
01124                 Qfloat *data;
01125                 int start;
01126                 if((start = cache->get_data(i,&data,len)) < len)
01127                 {
01128                         for(int j=start;j<len;j++)
01129                                 data[j] = (Qfloat)(y[i]*y[j]*(this->*kernel_function)(i,j));
01130                 }
01131                 return data;
01132         }

Here is the call graph for this function:


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