#include <CoverTree.h>

Public Member Functions | |
| KernelCoverTree (KernelFunction *kernel, const Array< double > &points) | |
| Construct a cover tree for the given set of points using the kernel induced distance measure. | |
| ~KernelCoverTree () | |
| Destructor. | |
| double | distance2 (const Array< double > &p1, const Array< double > &p2) const |
| distance computation based on the kernel function | |
Protected Attributes | |
| KernelFunction * | kernel |
Definition at line 117 of file CoverTree.h.
| KernelCoverTree::KernelCoverTree | ( | KernelFunction * | kernel, | |
| const Array< double > & | points | |||
| ) |
Construct a cover tree for the given set of points using the kernel induced distance measure.
Definition at line 424 of file CoverTree.cpp.
| KernelCoverTree::~KernelCoverTree | ( | ) |
| double KernelCoverTree::distance2 | ( | const Array< double > & | p1, | |
| const Array< double > & | p2 | |||
| ) | const [virtual] |
distance computation based on the kernel function
Reimplemented from CoverTree.
Definition at line 435 of file CoverTree.cpp.
References kernel.
KernelFunction* KernelCoverTree::kernel [protected] |