|
knncolle_hnsw
knncolle bindings for HNSW
|
Options for HnswBuilder and HnswPrebuilt.
More...
#include <knncolle_hnsw.hpp>
Public Attributes | |
| int | num_links = 16 |
| int | ef_construction = 200 |
| int | ef_search = 10 |
Options for HnswBuilder and HnswPrebuilt.
This can also be created via using the HnswBuilder::Options definition, which ensures consistency of template parameters with HnswBuilder.
| int knncolle_hnsw::HnswOptions::ef_construction = 200 |
Size of the dynamic list of nearest neighbors during index construction. This controls the trade-off between indexing time and accuracy and is equivalent to the ef_construct parameter in the underlying hnswlib library, see here for details.
| int knncolle_hnsw::HnswOptions::ef_search = 10 |
Size of the dynamic list of nearest neighbors during searching. This controls the trade-off between search speed and accuracy and is equivalent to the ef parameter in the underlying hnswlib library, see here for details.
| int knncolle_hnsw::HnswOptions::num_links = 16 |
Number of bidirectional links for each node. This is equivalent to the M parameter in the underlying hnswlib library, see here for details.