SHOGUN
v1.1.0
|
Public Member Functions | |
CSphericalKernel () | |
CSphericalKernel (int32_t size, float64_t sigma, CDistance *dist) | |
CSphericalKernel (CFeatures *l, CFeatures *r, float64_t sigma, CDistance *dist) | |
virtual bool | init (CFeatures *l, CFeatures *r) |
void | init () |
virtual EKernelType | get_kernel_type () |
virtual EFeatureType | get_feature_type () |
virtual EFeatureClass | get_feature_class () |
virtual const char * | get_name () const |
virtual void | set_sigma (float64_t s) |
virtual float64_t | get_sigma () const |
virtual | ~CSphericalKernel () |
Protected Member Functions | |
virtual float64_t | compute (int32_t idx_a, int32_t idx_b) |
Protected Attributes | |
CDistance * | distance |
float64_t | sigma |
CSphericalKernel | ( | ) |
default constructor
Definition at line 17 of file SphericalKernel.cpp.
CSphericalKernel | ( | int32_t | size, |
float64_t | sigma, | ||
CDistance * | dist | ||
) |
constructor
size | cache size |
sigma | kernel parameter sigma |
dist | distance |
Definition at line 23 of file SphericalKernel.cpp.
CSphericalKernel | ( | CFeatures * | l, |
CFeatures * | r, | ||
float64_t | sigma, | ||
CDistance * | dist | ||
) |
constructor
l | features of left-side |
r | features of right-side |
sigma | kernel parameter sigma |
dist | distance |
Definition at line 32 of file SphericalKernel.cpp.
~CSphericalKernel | ( | ) | [virtual] |
Definition at line 43 of file SphericalKernel.cpp.
compute kernel function for features a and b idx_{a,b} denote the index of the feature vectors in the corresponding feature object
idx_a | index a |
idx_b | index b |
Implements CKernel.
Definition at line 63 of file SphericalKernel.cpp.
virtual EFeatureClass get_feature_class | ( | ) | [virtual] |
virtual EFeatureType get_feature_type | ( | ) | [virtual] |
virtual EKernelType get_kernel_type | ( | ) | [virtual] |
virtual const char* get_name | ( | ) | const [virtual] |
initialize kernel with features
l | features of left-side |
r | features of right-side |
Reimplemented from CKernel.
Definition at line 49 of file SphericalKernel.cpp.
void init | ( | ) |
Do basic initialisations like default settings and registering parameters
Reimplemented from CKernel.
Definition at line 57 of file SphericalKernel.cpp.
distance
Definition at line 113 of file SphericalKernel.h.
width
Definition at line 116 of file SphericalKernel.h.