44 #ifndef ONE_CLASS_Q_HH 45 #define ONE_CLASS_Q_HH 57 template<
typename FV,
typename KF>
62 :
Kernel( kernel, prob.l, prob.x)
64 cache =
new Cache(prob.
l,(
int)(param.cache_size*(1<<20)));
71 if((start = cache->
get_data(i,&data,len)) < len)
73 for(
int j=start;j<len;j++)
ONE_CLASS_Q(const KF &kernel, const SVM_Problem< FV, KF > &prob)
Qfloat * get_Q(int i, int len) const
long get_data(const long index, Qfloat **data, long len)
void swap_index(long i, long j)
void swap_index(int i, int j) const
double kernel_function(int i, int j) const
virtual void swap_index(int i, int j) const