Uses of Interface
io.github.jbellis.jvector.graph.RandomAccessVectorValues
Packages that use RandomAccessVectorValues
Package
Description
-
Uses of RandomAccessVectorValues in io.github.jbellis.jvector.disk
Methods in io.github.jbellis.jvector.disk with parameters of type RandomAccessVectorValuesModifier and TypeMethodDescriptionstatic <T> voidOnDiskGraphIndex.write(GraphIndex<T> graph, RandomAccessVectorValues<T> vectors, DataOutput out) static <T> voidOnDiskGraphIndex.write(GraphIndex<T> graph, RandomAccessVectorValues<T> vectors, Map<Integer, Integer> oldToNewOrdinals, DataOutput out) -
Uses of RandomAccessVectorValues in io.github.jbellis.jvector.graph
Classes in io.github.jbellis.jvector.graph that implement RandomAccessVectorValuesModifier and TypeClassDescriptionclassA List-backed implementation of theRandomAccessVectorValuesinterface.Methods in io.github.jbellis.jvector.graph that return RandomAccessVectorValuesModifier and TypeMethodDescriptionRandomAccessVectorValues.copy()Creates a new copy of thisRandomAccessVectorValues.Methods in io.github.jbellis.jvector.graph with parameters of type RandomAccessVectorValuesModifier and TypeMethodDescriptionlongGraphIndexBuilder.addGraphNode(int node, RandomAccessVectorValues<T> vectors) Inserts a node with the given vector value to the graph.static <T> SearchResultGraphSearcher.search(T targetVector, int topK, RandomAccessVectorValues<T> vectors, VectorEncoding vectorEncoding, VectorSimilarityFunction similarityFunction, GraphIndex<T> graph, Bits acceptOrds) Convenience function for simple one-off searches.Constructors in io.github.jbellis.jvector.graph with parameters of type RandomAccessVectorValuesModifierConstructorDescriptionGraphIndexBuilder(RandomAccessVectorValues<T> vectorValues, VectorEncoding vectorEncoding, VectorSimilarityFunction similarityFunction, int M, int beamWidth, float neighborOverflow, float alpha) Reads all the vectors from vector values, builds a graph connecting them by their dense ordinals, using the given hyperparameter settings, and returns the resulting graph.GraphIndexBuilder(RandomAccessVectorValues<T> vectorValues, VectorEncoding vectorEncoding, VectorSimilarityFunction similarityFunction, int M, int beamWidth, float neighborOverflow, float alpha, ForkJoinPool simdExecutor, ForkJoinPool parallelExecutor) Reads all the vectors from vector values, builds a graph connecting them by their dense ordinals, using the given hyperparameter settings, and returns the resulting graph. -
Uses of RandomAccessVectorValues in io.github.jbellis.jvector.pq
Methods in io.github.jbellis.jvector.pq with parameters of type RandomAccessVectorValuesModifier and TypeMethodDescriptionstatic BinaryQuantizationBinaryQuantization.compute(RandomAccessVectorValues<float[]> ravv) static BinaryQuantizationBinaryQuantization.compute(RandomAccessVectorValues<float[]> ravv, ForkJoinPool parallelExecutor) static ProductQuantizationProductQuantization.compute(RandomAccessVectorValues<float[]> ravv, int M, boolean globallyCenter) Initializes the codebooks by clustering the input data using Product Quantization.static ProductQuantizationProductQuantization.compute(RandomAccessVectorValues<float[]> ravv, int M, boolean globallyCenter, ForkJoinPool simdExecutor, ForkJoinPool parallelExecutor) Initializes the codebooks by clustering the input data using Product Quantization.