
Definition at line 18 of file StringKernel.h.
Public Member Functions | |
| CStringKernel (int32_t cachesize) | |
| CStringKernel (CFeatures *l, CFeatures *r) | |
| virtual bool | init (CFeatures *l, CFeatures *r) |
| virtual EFeatureClass | get_feature_class () |
| virtual EFeatureType | get_feature_type () |
| template<> | |
| EFeatureType | get_feature_type () |
| template<> | |
| EFeatureType | get_feature_type () |
| template<> | |
| EFeatureType | get_feature_type () |
| template<> | |
| EFeatureType | get_feature_type () |
| CStringKernel< ST >::CStringKernel | ( | int32_t | cachesize | ) |
| CStringKernel< ST >::CStringKernel | ( | CFeatures * | l, | |
| CFeatures * | r | |||
| ) |
constructor
| l | features of left-hand side | |
| r | features of right-hand side |
Definition at line 32 of file StringKernel.h.
| virtual bool CStringKernel< ST >::init | ( | CFeatures * | l, | |
| CFeatures * | r | |||
| ) | [virtual] |
initialize kernel e.g. setup lhs/rhs of kernel, precompute normalization constants etc. make sure to check that your kernel can deal with the supplied features (!)
| l | features for left-hand side | |
| r | features for right-hand side |
Reimplemented from CKernel.
Reimplemented in CCommUlongStringKernel, CCommWordStringKernel, CFixedDegreeStringKernel, CHistogramWordStringKernel, CLinearStringKernel, CLocalAlignmentStringKernel, CLocalityImprovedStringKernel, CMatchWordStringKernel, COligoKernel, CPolyMatchStringKernel, CPolyMatchWordStringKernel, CSalzbergWordStringKernel, CSimpleLocalityImprovedStringKernel, CWeightedCommWordStringKernel, CWeightedDegreePositionStringKernel, and CWeightedDegreeStringKernel.
Definition at line 47 of file StringKernel.h.
| virtual EFeatureClass CStringKernel< ST >::get_feature_class | ( | ) | [virtual] |
return feature class the kernel can deal with
Implements CKernel.
Definition at line 63 of file StringKernel.h.
| virtual EFeatureType CStringKernel< ST >::get_feature_type | ( | ) | [virtual] |
return feature type the kernel can deal with
Implements CKernel.
Reimplemented in CCommUlongStringKernel, CCommWordStringKernel, and CWeightedCommWordStringKernel.
| EFeatureType CStringKernel< float64_t >::get_feature_type | ( | ) | [virtual] |
return feature type the kernel can deal with
abstract base method
Implements CKernel.
Definition at line 72 of file StringKernel.h.
| EFeatureType CStringKernel< int32_t >::get_feature_type | ( | ) | [virtual] |
return feature type the kernel can deal with
abstract base method
Implements CKernel.
Definition at line 76 of file StringKernel.h.
| EFeatureType CStringKernel< int16_t >::get_feature_type | ( | ) | [virtual] |
return feature type the kernel can deal with
abstract base method
Implements CKernel.
Definition at line 80 of file StringKernel.h.
| EFeatureType CStringKernel< uint8_t >::get_feature_type | ( | ) | [virtual] |
return feature type the kernel can deal with
abstract base method
Implements CKernel.
Definition at line 82 of file StringKernel.h.