Controls for HNSW algorithm used in the package (see RcppHNSW::hnsw_build()
and RcppHNSW::hnsw_search()
for details).
control_hnsw(M = 25, ef_c = 200, ef_s = 200, grain_size = 1, byrow = TRUE, ...)
Returns a list with parameters.
Controls the number of bi-directional links created for each element during index construction.
Size of the dynamic list used during construction.
Size of the dynamic list used during search.
Minimum amount of work to do (rows in the dataset to add) per thread.
If TRUE
(the default), this indicates that the items in the dataset to be indexed are stored in each row.
Otherwise, the items are stored in the columns of the dataset.
Additional arguments.