Uses of Class
org.apache.lucene.util.hnsw.NeighborArray
Packages that use NeighborArray
Package
Description
Navigable Small-World graph, nominally Hierarchical but currently only has a single layer.
-
Uses of NeighborArray in org.apache.lucene.util.hnsw
Fields in org.apache.lucene.util.hnsw declared as NeighborArrayModifier and TypeFieldDescriptionprivate NeighborArrayOnHeapHnswGraph.curprivate final NeighborArrayHnswGraphBuilder.scratchFields in org.apache.lucene.util.hnsw with type parameters of type NeighborArrayMethods in org.apache.lucene.util.hnsw that return NeighborArrayModifier and TypeMethodDescriptionOnHeapHnswGraph.getNeighbors(int level, int node) Returns theNeighborQueueconnected to the given node.Methods in org.apache.lucene.util.hnsw with parameters of type NeighborArrayModifier and TypeMethodDescriptionprivate booleanHnswGraphBuilder.diversityCheck(float[] candidate, float score, NeighborArray neighbors, RandomAccessVectorValues vectorValues) private intHnswGraphBuilder.findWorstNonDiverse(NeighborArray neighbors) Find first non-diverse neighbour among the list of neighbors starting from the most distant neighboursprivate voidHnswGraphBuilder.selectAndLinkDiverse(NeighborArray neighbors, NeighborArray candidates, int maxConnOnLevel)