11 #ifndef _SIMPLELOCALITYIMPROVEDSTRINGKERNEL_H___
12 #define _SIMPLELOCALITYIMPROVEDSTRINGKERNEL_H___
56 int32_t length, int32_t inner_degree, int32_t outer_degree);
86 return "SimpleLocalityImprovedStringKernel";
101 float64_t dot_pyr (
const char*
const x1,
const char*
const x2,
102 const int32_t NOF_NTS,
const int32_t NTWIDTH,
103 const int32_t DEGREE1,
const int32_t DEGREE2,
float64_t *pyra);
virtual EKernelType get_kernel_type()
virtual bool init(CFeatures *l, CFeatures *r)
virtual ~CSimpleLocalityImprovedStringKernel()
int32_t num_pyramid_weights
virtual const char * get_name() const
SimpleLocalityImprovedString kernel, is a ``simplified'' and better performing version of the Localit...
CSimpleLocalityImprovedStringKernel()
float64_t * pyramid_weights
The class Features is the base class of all feature objects.
float64_t compute(int32_t idx_a, int32_t idx_b)
Template class StringKernel, is the base class of all String Kernels.