template<typename Index_, typename Data_, typename Distance_, class DistanceMetric_>
class knncolle::VptreePrebuilt< Index_, Data_, Distance_, DistanceMetric_ >
Index for a VP-tree search.
Instances of this class are usually constructed using VptreeBuilder::build_raw()
.
- Template Parameters
-
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. |