25 : 
CStringKernel<char>(size), m_maxlen(maxlen), m_lambda(lambda)
 
   59     REQUIRE(
lhs, 
"lhs feature vector is not set!\n")
 
   60     REQUIRE(
rhs, 
"rhs feature vector is not set!\n")
 
   63     bool free_avec, free_bvec;
 
   66         ->get_feature_vector(idx_a, alen, free_avec);
 
   68         ->get_feature_vector(idx_b, blen, free_bvec);
 
   70     REQUIRE(avec, 
"Feature vector for lhs is NULL!\n");
 
   71     REQUIRE(bvec, 
"Feature vector for rhs is NULL!\n");
 
   92         for (
index_t j=0; j<alen-1; j++)
 
   95             for (
index_t k=0; k<blen-1; k++)
 
   99                 Kp[i+1][j+1][k+1]=
m_lambda*Kp[i+1][j][k+1]+Kpp;
 
  124     for (
index_t i=0; i<m_maxlen+1; ++i)
 
virtual bool init(CFeatures *lhs, CFeatures *rhs)
virtual bool set_normalizer(CKernelNormalizer *normalizer)
virtual void register_params()
virtual float64_t compute(int32_t idx_a, int32_t idx_b)
virtual ~CSubsequenceStringKernel()
CSubsequenceStringKernel()
virtual bool init_normalizer()
CFeatures * rhs
feature vectors to occur on right hand side 
all of classes and functions are contained in the shogun namespace 
CFeatures * lhs
feature vectors to occur on left hand side 
The class Features is the base class of all feature objects. 
friend class CSqrtDiagKernelNormalizer
Template class StringKernel, is the base class of all String Kernels.