Class Primitives
java.lang.Object
com.apple.foundationdb.async.hnsw.Primitives
An implementation of primitives for the Hierarchical Navigable Small World (HNSW) algorithm for
efficient approximate nearest neighbor (ANN) search.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Primitives
Constructs a new HNSW primitives instance.This constructor initializes the HNSW graph with the necessary components for storage, execution, configuration, and event handling. All parameters are mandatory and must not be null.
- Parameters:
locator- theLocatorwhere the graph data is stored, which config to use, which executor to use, etc.
-
-
Method Details
-
getLocator
-