Companion

object Companion

Properties

Link copied to clipboard
const val DEFAULT_BEAM_WIDTH: Int = 100

Default number of the size of the queue maintained while searching during a graph construction.

Link copied to clipboard
const val DEFAULT_MAX_CONN: Int = 16

Default number of maximum connections per node

Link copied to clipboard

A name for the HNSW component for the info-stream *

Link copied to clipboard

Random seed for level generation; public to expose for testing *

Functions

Link copied to clipboard
fun create(scorerSupplier: RandomVectorScorerSupplier, M: Int, beamWidth: Int, seed: Long): HnswGraphBuilder
fun create(scorerSupplier: RandomVectorScorerSupplier, M: Int, beamWidth: Int, seed: Long, graphSize: Int): HnswGraphBuilder