build

open override fun build(maxOrd: Int): OnHeapHnswGraph

Adds all nodes to the graph up to the provided maxOrd.

Parameters

maxOrd

The maximum ordinal (excluded) of the nodes to be added.