seek

open override fun seek(level: Int, targetNode: Int)

Move the pointer to exactly the given level's target. After this method returns, call .nextNeighbor to return successive (ordered) connected node ordinals.

Parameters

level

level of the graph

target

ordinal of a node in the graph, must be 0 and