Controls for HNSW algorithm used in the package (see RcppHNSW::hnsw_build()
and RcppHNSW::hnsw_search()
for details).
Arguments
- M
Controls the number of bi-directional links created for each element during index construction.
- ef_c
Size of the dynamic list used during construction.
- ef_s
Size of the dynamic list used during search.
- grain_size
Minimum amount of work to do (rows in the dataset to add) per thread.
- byrow
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.