template<class Distance_, typename Dim_, typename Index_, typename Store_, typename Float_>
class knncolle::KmknnPrebuilt< Distance_, Dim_, Index_, Store_, Float_ >
Index for a KMKNN search.
Instances of this class are usually constructed using KmknnBuilder::build_raw()
.
- Template Parameters
-
Distance_ | A distance calculation class satisfying the MockDistance contract. |
Dim_ | Integer type for the number of dimensions. For the output of KmknnBuilder::build_raw() , this is set to Matrix_::dimension_type . |
Index_ | Integer type for the indices. For the output of KmknnBuilder::build_raw() , this is set to Matrix_::index_type . |
Store_ | Floating point type for the stored data. For the output of KmknnBuilder::build_raw() , this is set to Matrix_::data_type . This may be set to a lower-precision type than Float_ to save memory. |
Float_ | Floating point type for the query data and distances. |