Navigable Small-World graph, nominally Hierarchical but currently only has a single layer. Provides efficient approximate nearest neighbor search for high dimensional vectors.
Class Summary Class Description HnswGraphNavigable Small-world graph. HnswGraphBuilderBuilder for HNSW graph. NeighborArrayNeighborArray encodes the neighbors of a node and their mutual scores in the HNSW graph as a pair of growable arrays. NeighborQueueNeighborQueue uses a
LongHeapto store lists of arcs in an HNSW graph, represented as a neighbor node id with an associated score packed together as a sortable long, which is sorted primarily by score.