Wave kernel.
Formally described as
Definition at line 35 of file WaveKernel.h.

Public Member Functions | |
| CWaveKernel () | |
| CWaveKernel (int32_t cache, float64_t theta, CDistance *dist) | |
| CWaveKernel (CFeatures *l, CFeatures *r, float64_t theta, CDistance *dist) | |
| virtual bool | init (CFeatures *l, CFeatures *r) |
| virtual EKernelType | get_kernel_type () |
| virtual EFeatureType | get_feature_type () |
| virtual EFeatureClass | get_feature_class () |
| virtual const char * | get_name () const |
| virtual | ~CWaveKernel () |
Protected Member Functions | |
| virtual float64_t | compute (int32_t idx_a, int32_t idx_b) |
Protected Attributes | |
| CDistance * | m_distance |
| distance to be used | |
| float64_t | m_theta |
| theta parameter of kernel | |
| CWaveKernel | ( | ) |
default constructor
Definition at line 16 of file WaveKernel.cpp.
| CWaveKernel | ( | int32_t | cache, | |
| float64_t | theta, | |||
| CDistance * | dist | |||
| ) |
constructor
| cache | size of cache | |
| theta | kernel parameter theta | |
| dist | distance to be used |
Definition at line 21 of file WaveKernel.cpp.
| CWaveKernel | ( | CFeatures * | l, | |
| CFeatures * | r, | |||
| float64_t | theta, | |||
| CDistance * | dist | |||
| ) |
constructor
| l | features left-side | |
| r | features right-side | |
| theta | kernel parameter theta | |
| dist | distance to be used |
Definition at line 29 of file WaveKernel.cpp.
| ~CWaveKernel | ( | ) | [virtual] |
Definition at line 38 of file WaveKernel.cpp.
| float64_t compute | ( | int32_t | idx_a, | |
| int32_t | idx_b | |||
| ) | [protected, virtual] |
compute kernel for specific feature vectors corresponding to [idx_a] of left-side and [idx_b] of right-side
| idx_a | left-side index | |
| idx_b | right-side index |
Implements CKernel.
Definition at line 58 of file WaveKernel.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 left-side | |
| r | features right-side |
Reimplemented from CKernel.
Definition at line 44 of file WaveKernel.cpp.
CDistance* m_distance [protected] |
distance to be used
Definition at line 101 of file WaveKernel.h.
theta parameter of kernel
Definition at line 104 of file WaveKernel.h.