algorithm

package
v1.7.12 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 21, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Overview

Package algorithm defines vald's core ann algorithm interface & constraint.

Index

Constants

View Source
const (
	// MaximumVectorDimensionSize is maximum value of vector dimension.
	MaximumVectorDimensionSize = math.MaxUint32
	// MinimumVectorDimensionSize is minimum value of vector dimension.
	MinimumVectorDimensionSize = 2
)

Variables

This section is empty.

Functions

This section is empty.

Types

type SearchResult added in v1.7.11

type SearchResult struct {
	ID       uint32
	Distance float32
	Error    error
}

SearchResult is struct for comfortable use in Go.

Directories

Path Synopsis
Package faiss provides implementation of Go API for https://github.com/facebookresearch/faiss
Package faiss provides implementation of Go API for https://github.com/facebookresearch/faiss
Package ngt provides implementation of Go API for https://github.com/yahoojapan/NGT
Package ngt provides implementation of Go API for https://github.com/yahoojapan/NGT

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL