knncolle
Collection of KNN methods in C++
|
Index for a VP-tree search. More...
#include <Vptree.hpp>
Public Member Functions | |
Index_ | num_observations () const |
size_t | num_dimensions () const |
std::unique_ptr< Searcher< Index_, Data_, Distance_ > > | initialize () const |
![]() |
Friends | |
class | VptreeSearcher< Index_, Data_, Distance_, DistanceMetric_ > |
Index for a VP-tree search.
Instances of this class are usually constructed using VptreeBuilder::build_raw()
.
Index_ | Integer type for the indices. |
Data_ | Numeric type for the input and query data. |
Distance_ | Floating point type for the distances. |
DistanceMetric_ | Class implementing the distance metric calculation. This should satisfy the DistanceMetric interface. |
|
inlinevirtual |
Creates a VptreeSearcher
instance.
Implements knncolle::Prebuilt< Index_, Data_, Distance_ >.
|
inlinevirtual |
Implements knncolle::Prebuilt< Index_, Data_, Distance_ >.
|
inlinevirtual |
Implements knncolle::Prebuilt< Index_, Data_, Distance_ >.