Versions in this module Expand all Collapse all v1 v1.0.0 Sep 19, 2023 Changes in this version + type Hnsw struct + DelaunayType int + DistFunc func([]float32, []float32) float32 + LevelMult float64 + M int + M0 int + func Load(filename string) (*Hnsw, int64, error) + func New(M int, efConstruction int, first Point) *Hnsw + func (h *Hnsw) Add(q Point, id uint32) + func (h *Hnsw) Benchmark(q Point, ef int, K int) float64 + func (h *Hnsw) Grow(size int) + func (h *Hnsw) Link(first, second uint32, level int) + func (h *Hnsw) Save(filename string) error + func (h *Hnsw) Search(q Point, ef int, K int) *distqueue.DistQueueClosestLast + func (h *Hnsw) SearchBrute(q Point, K int) *distqueue.DistQueueClosestLast + func (h *Hnsw) Stats() string + type Point []float32 + func (a Point) Size() int