Documentation ¶
Index ¶
- Variables
- func DeleteAnnoyIndex(arg1 AnnoyIndex)
- func DeleteAnnoyIndexAngular(arg1 AnnoyIndexAngular)
- func DeleteAnnoyIndexDotProduct(arg1 AnnoyIndexDotProduct)
- func DeleteAnnoyIndexEuclidean(arg1 AnnoyIndexEuclidean)
- func DeleteAnnoyIndexManhattan(arg1 AnnoyIndexManhattan)
- func Swig_free(arg1 uintptr)
- func Swig_malloc(arg1 int) (_swig_ret uintptr)
- type AnnoyIndex
- type AnnoyIndexAngular
- type AnnoyIndexDotProduct
- type AnnoyIndexEuclidean
- type AnnoyIndexManhattan
- type SwigcptrAnnoyIndex
- func (arg1 SwigcptrAnnoyIndex) AddItem(arg2 int, arg3 []float32)
- func (arg1 SwigcptrAnnoyIndex) Build(arg2 int)
- func (arg1 SwigcptrAnnoyIndex) GetDistance(arg2 int, arg3 int) (_swig_ret float32)
- func (arg1 SwigcptrAnnoyIndex) GetItem(arg2 int, arg3 *[]float32)
- func (arg1 SwigcptrAnnoyIndex) GetNItems() (_swig_ret int)
- func (p SwigcptrAnnoyIndex) GetNnsByItem(a ...interface{})
- func (arg1 SwigcptrAnnoyIndex) GetNnsByItem__SWIG_0(arg2 int, arg3 int, arg4 int, arg5 *[]int, arg6 *[]float32)
- func (arg1 SwigcptrAnnoyIndex) GetNnsByItem__SWIG_1(arg2 int, arg3 int, arg4 int, arg5 *[]int)
- func (p SwigcptrAnnoyIndex) GetNnsByVector(a ...interface{})
- func (arg1 SwigcptrAnnoyIndex) GetNnsByVector__SWIG_0(arg2 []float32, arg3 int, arg4 int, arg5 *[]int, arg6 *[]float32)
- func (arg1 SwigcptrAnnoyIndex) GetNnsByVector__SWIG_1(arg2 []float32, arg3 int, arg4 int, arg5 *[]int)
- func (p SwigcptrAnnoyIndex) Load(a ...interface{}) bool
- func (arg1 SwigcptrAnnoyIndex) Load__SWIG_0(arg2 string, arg3 bool) (_swig_ret bool)
- func (arg1 SwigcptrAnnoyIndex) Load__SWIG_1(arg2 string) (_swig_ret bool)
- func (arg1 SwigcptrAnnoyIndex) OnDiskBuild(arg2 string) (_swig_ret bool)
- func (p SwigcptrAnnoyIndex) Save(a ...interface{}) bool
- func (arg1 SwigcptrAnnoyIndex) Save__SWIG_0(arg2 string, arg3 bool) (_swig_ret bool)
- func (arg1 SwigcptrAnnoyIndex) Save__SWIG_1(arg2 string) (_swig_ret bool)
- func (p SwigcptrAnnoyIndex) SwigIsAnnoyIndex()
- func (p SwigcptrAnnoyIndex) Swigcptr() uintptr
- func (arg1 SwigcptrAnnoyIndex) Unload()
- func (arg1 SwigcptrAnnoyIndex) Verbose(arg2 bool)
- type SwigcptrAnnoyIndexAngular
- func (_swig_base SwigcptrAnnoyIndexAngular) AddItem(arg1 int, arg2 []float32)
- func (_swig_base SwigcptrAnnoyIndexAngular) Build(arg1 int)
- func (_swig_base SwigcptrAnnoyIndexAngular) GetDistance(arg1 int, arg2 int) (_swig_ret float32)
- func (_swig_base SwigcptrAnnoyIndexAngular) GetItem(arg1 int, arg2 *[]float32)
- func (_swig_base SwigcptrAnnoyIndexAngular) GetNItems() (_swig_ret int)
- func (p SwigcptrAnnoyIndexAngular) GetNnsByItem(a ...interface{})
- func (_swig_base SwigcptrAnnoyIndexAngular) GetNnsByItem__SWIG_0(arg1 int, arg2 int, arg3 int, arg4 *[]int, arg5 *[]float32)
- func (_swig_base SwigcptrAnnoyIndexAngular) GetNnsByItem__SWIG_1(arg1 int, arg2 int, arg3 int, arg4 *[]int)
- func (p SwigcptrAnnoyIndexAngular) GetNnsByVector(a ...interface{})
- func (_swig_base SwigcptrAnnoyIndexAngular) GetNnsByVector__SWIG_0(arg1 []float32, arg2 int, arg3 int, arg4 *[]int, arg5 *[]float32)
- func (_swig_base SwigcptrAnnoyIndexAngular) GetNnsByVector__SWIG_1(arg1 []float32, arg2 int, arg3 int, arg4 *[]int)
- func (p SwigcptrAnnoyIndexAngular) Load(a ...interface{}) bool
- func (_swig_base SwigcptrAnnoyIndexAngular) Load__SWIG_0(arg1 string, arg2 bool) (_swig_ret bool)
- func (_swig_base SwigcptrAnnoyIndexAngular) Load__SWIG_1(arg1 string) (_swig_ret bool)
- func (_swig_base SwigcptrAnnoyIndexAngular) OnDiskBuild(arg1 string) (_swig_ret bool)
- func (p SwigcptrAnnoyIndexAngular) Save(a ...interface{}) bool
- func (_swig_base SwigcptrAnnoyIndexAngular) Save__SWIG_0(arg1 string, arg2 bool) (_swig_ret bool)
- func (_swig_base SwigcptrAnnoyIndexAngular) Save__SWIG_1(arg1 string) (_swig_ret bool)
- func (p SwigcptrAnnoyIndexAngular) SwigGetAnnoyIndex() AnnoyIndex
- func (p SwigcptrAnnoyIndexAngular) SwigIsAnnoyIndex()
- func (p SwigcptrAnnoyIndexAngular) SwigIsAnnoyIndexAngular()
- func (p SwigcptrAnnoyIndexAngular) Swigcptr() uintptr
- func (_swig_base SwigcptrAnnoyIndexAngular) Unload()
- func (_swig_base SwigcptrAnnoyIndexAngular) Verbose(arg1 bool)
- type SwigcptrAnnoyIndexDotProduct
- func (_swig_base SwigcptrAnnoyIndexDotProduct) AddItem(arg1 int, arg2 []float32)
- func (_swig_base SwigcptrAnnoyIndexDotProduct) Build(arg1 int)
- func (_swig_base SwigcptrAnnoyIndexDotProduct) GetDistance(arg1 int, arg2 int) (_swig_ret float32)
- func (_swig_base SwigcptrAnnoyIndexDotProduct) GetItem(arg1 int, arg2 *[]float32)
- func (_swig_base SwigcptrAnnoyIndexDotProduct) GetNItems() (_swig_ret int)
- func (p SwigcptrAnnoyIndexDotProduct) GetNnsByItem(a ...interface{})
- func (_swig_base SwigcptrAnnoyIndexDotProduct) GetNnsByItem__SWIG_0(arg1 int, arg2 int, arg3 int, arg4 *[]int, arg5 *[]float32)
- func (_swig_base SwigcptrAnnoyIndexDotProduct) GetNnsByItem__SWIG_1(arg1 int, arg2 int, arg3 int, arg4 *[]int)
- func (p SwigcptrAnnoyIndexDotProduct) GetNnsByVector(a ...interface{})
- func (_swig_base SwigcptrAnnoyIndexDotProduct) GetNnsByVector__SWIG_0(arg1 []float32, arg2 int, arg3 int, arg4 *[]int, arg5 *[]float32)
- func (_swig_base SwigcptrAnnoyIndexDotProduct) GetNnsByVector__SWIG_1(arg1 []float32, arg2 int, arg3 int, arg4 *[]int)
- func (p SwigcptrAnnoyIndexDotProduct) Load(a ...interface{}) bool
- func (_swig_base SwigcptrAnnoyIndexDotProduct) Load__SWIG_0(arg1 string, arg2 bool) (_swig_ret bool)
- func (_swig_base SwigcptrAnnoyIndexDotProduct) Load__SWIG_1(arg1 string) (_swig_ret bool)
- func (_swig_base SwigcptrAnnoyIndexDotProduct) OnDiskBuild(arg1 string) (_swig_ret bool)
- func (p SwigcptrAnnoyIndexDotProduct) Save(a ...interface{}) bool
- func (_swig_base SwigcptrAnnoyIndexDotProduct) Save__SWIG_0(arg1 string, arg2 bool) (_swig_ret bool)
- func (_swig_base SwigcptrAnnoyIndexDotProduct) Save__SWIG_1(arg1 string) (_swig_ret bool)
- func (p SwigcptrAnnoyIndexDotProduct) SwigGetAnnoyIndex() AnnoyIndex
- func (p SwigcptrAnnoyIndexDotProduct) SwigIsAnnoyIndex()
- func (p SwigcptrAnnoyIndexDotProduct) SwigIsAnnoyIndexDotProduct()
- func (p SwigcptrAnnoyIndexDotProduct) Swigcptr() uintptr
- func (_swig_base SwigcptrAnnoyIndexDotProduct) Unload()
- func (_swig_base SwigcptrAnnoyIndexDotProduct) Verbose(arg1 bool)
- type SwigcptrAnnoyIndexEuclidean
- func (_swig_base SwigcptrAnnoyIndexEuclidean) AddItem(arg1 int, arg2 []float32)
- func (_swig_base SwigcptrAnnoyIndexEuclidean) Build(arg1 int)
- func (_swig_base SwigcptrAnnoyIndexEuclidean) GetDistance(arg1 int, arg2 int) (_swig_ret float32)
- func (_swig_base SwigcptrAnnoyIndexEuclidean) GetItem(arg1 int, arg2 *[]float32)
- func (_swig_base SwigcptrAnnoyIndexEuclidean) GetNItems() (_swig_ret int)
- func (p SwigcptrAnnoyIndexEuclidean) GetNnsByItem(a ...interface{})
- func (_swig_base SwigcptrAnnoyIndexEuclidean) GetNnsByItem__SWIG_0(arg1 int, arg2 int, arg3 int, arg4 *[]int, arg5 *[]float32)
- func (_swig_base SwigcptrAnnoyIndexEuclidean) GetNnsByItem__SWIG_1(arg1 int, arg2 int, arg3 int, arg4 *[]int)
- func (p SwigcptrAnnoyIndexEuclidean) GetNnsByVector(a ...interface{})
- func (_swig_base SwigcptrAnnoyIndexEuclidean) GetNnsByVector__SWIG_0(arg1 []float32, arg2 int, arg3 int, arg4 *[]int, arg5 *[]float32)
- func (_swig_base SwigcptrAnnoyIndexEuclidean) GetNnsByVector__SWIG_1(arg1 []float32, arg2 int, arg3 int, arg4 *[]int)
- func (p SwigcptrAnnoyIndexEuclidean) Load(a ...interface{}) bool
- func (_swig_base SwigcptrAnnoyIndexEuclidean) Load__SWIG_0(arg1 string, arg2 bool) (_swig_ret bool)
- func (_swig_base SwigcptrAnnoyIndexEuclidean) Load__SWIG_1(arg1 string) (_swig_ret bool)
- func (_swig_base SwigcptrAnnoyIndexEuclidean) OnDiskBuild(arg1 string) (_swig_ret bool)
- func (p SwigcptrAnnoyIndexEuclidean) Save(a ...interface{}) bool
- func (_swig_base SwigcptrAnnoyIndexEuclidean) Save__SWIG_0(arg1 string, arg2 bool) (_swig_ret bool)
- func (_swig_base SwigcptrAnnoyIndexEuclidean) Save__SWIG_1(arg1 string) (_swig_ret bool)
- func (p SwigcptrAnnoyIndexEuclidean) SwigGetAnnoyIndex() AnnoyIndex
- func (p SwigcptrAnnoyIndexEuclidean) SwigIsAnnoyIndex()
- func (p SwigcptrAnnoyIndexEuclidean) SwigIsAnnoyIndexEuclidean()
- func (p SwigcptrAnnoyIndexEuclidean) Swigcptr() uintptr
- func (_swig_base SwigcptrAnnoyIndexEuclidean) Unload()
- func (_swig_base SwigcptrAnnoyIndexEuclidean) Verbose(arg1 bool)
- type SwigcptrAnnoyIndexManhattan
- func (_swig_base SwigcptrAnnoyIndexManhattan) AddItem(arg1 int, arg2 []float32)
- func (_swig_base SwigcptrAnnoyIndexManhattan) Build(arg1 int)
- func (_swig_base SwigcptrAnnoyIndexManhattan) GetDistance(arg1 int, arg2 int) (_swig_ret float32)
- func (_swig_base SwigcptrAnnoyIndexManhattan) GetItem(arg1 int, arg2 *[]float32)
- func (_swig_base SwigcptrAnnoyIndexManhattan) GetNItems() (_swig_ret int)
- func (p SwigcptrAnnoyIndexManhattan) GetNnsByItem(a ...interface{})
- func (_swig_base SwigcptrAnnoyIndexManhattan) GetNnsByItem__SWIG_0(arg1 int, arg2 int, arg3 int, arg4 *[]int, arg5 *[]float32)
- func (_swig_base SwigcptrAnnoyIndexManhattan) GetNnsByItem__SWIG_1(arg1 int, arg2 int, arg3 int, arg4 *[]int)
- func (p SwigcptrAnnoyIndexManhattan) GetNnsByVector(a ...interface{})
- func (_swig_base SwigcptrAnnoyIndexManhattan) GetNnsByVector__SWIG_0(arg1 []float32, arg2 int, arg3 int, arg4 *[]int, arg5 *[]float32)
- func (_swig_base SwigcptrAnnoyIndexManhattan) GetNnsByVector__SWIG_1(arg1 []float32, arg2 int, arg3 int, arg4 *[]int)
- func (p SwigcptrAnnoyIndexManhattan) Load(a ...interface{}) bool
- func (_swig_base SwigcptrAnnoyIndexManhattan) Load__SWIG_0(arg1 string, arg2 bool) (_swig_ret bool)
- func (_swig_base SwigcptrAnnoyIndexManhattan) Load__SWIG_1(arg1 string) (_swig_ret bool)
- func (_swig_base SwigcptrAnnoyIndexManhattan) OnDiskBuild(arg1 string) (_swig_ret bool)
- func (p SwigcptrAnnoyIndexManhattan) Save(a ...interface{}) bool
- func (_swig_base SwigcptrAnnoyIndexManhattan) Save__SWIG_0(arg1 string, arg2 bool) (_swig_ret bool)
- func (_swig_base SwigcptrAnnoyIndexManhattan) Save__SWIG_1(arg1 string) (_swig_ret bool)
- func (p SwigcptrAnnoyIndexManhattan) SwigGetAnnoyIndex() AnnoyIndex
- func (p SwigcptrAnnoyIndexManhattan) SwigIsAnnoyIndex()
- func (p SwigcptrAnnoyIndexManhattan) SwigIsAnnoyIndexManhattan()
- func (p SwigcptrAnnoyIndexManhattan) Swigcptr() uintptr
- func (_swig_base SwigcptrAnnoyIndexManhattan) Unload()
- func (_swig_base SwigcptrAnnoyIndexManhattan) Verbose(arg1 bool)
Constants ¶
This section is empty.
Variables ¶
View Source
var Swig_escape_always_false bool
View Source
var Swig_escape_val interface{}
Functions ¶
func DeleteAnnoyIndex ¶
func DeleteAnnoyIndex(arg1 AnnoyIndex)
func DeleteAnnoyIndexAngular ¶
func DeleteAnnoyIndexAngular(arg1 AnnoyIndexAngular)
func DeleteAnnoyIndexDotProduct ¶
func DeleteAnnoyIndexDotProduct(arg1 AnnoyIndexDotProduct)
func DeleteAnnoyIndexEuclidean ¶
func DeleteAnnoyIndexEuclidean(arg1 AnnoyIndexEuclidean)
func DeleteAnnoyIndexManhattan ¶
func DeleteAnnoyIndexManhattan(arg1 AnnoyIndexManhattan)
func Swig_malloc ¶
Types ¶
type AnnoyIndex ¶
type AnnoyIndex interface { Swigcptr() uintptr SwigIsAnnoyIndex() AddItem(arg2 int, arg3 []float32) Build(arg2 int) Save(a ...interface{}) bool Unload() Load(a ...interface{}) bool GetDistance(arg2 int, arg3 int) (_swig_ret float32) GetNnsByItem(a ...interface{}) GetNnsByVector(a ...interface{}) GetNItems() (_swig_ret int) Verbose(arg2 bool) GetItem(arg2 int, arg3 *[]float32) OnDiskBuild(arg2 string) (_swig_ret bool) }
func NewAnnoyIndex ¶
func NewAnnoyIndex() (_swig_ret AnnoyIndex)
type AnnoyIndexAngular ¶
type AnnoyIndexAngular interface { Swigcptr() uintptr SwigIsAnnoyIndexAngular() AddItem(arg1 int, arg2 []float32) Build(arg1 int) Save(a ...interface{}) bool Unload() Load(a ...interface{}) bool GetDistance(arg1 int, arg2 int) (_swig_ret float32) GetNnsByItem(a ...interface{}) GetNnsByVector(a ...interface{}) GetNItems() (_swig_ret int) Verbose(arg1 bool) GetItem(arg1 int, arg2 *[]float32) OnDiskBuild(arg1 string) (_swig_ret bool) SwigIsAnnoyIndex() SwigGetAnnoyIndex() AnnoyIndex }
func NewAnnoyIndexAngular ¶
func NewAnnoyIndexAngular(arg1 int) (_swig_ret AnnoyIndexAngular)
type AnnoyIndexDotProduct ¶
type AnnoyIndexDotProduct interface { Swigcptr() uintptr SwigIsAnnoyIndexDotProduct() AddItem(arg1 int, arg2 []float32) Build(arg1 int) Save(a ...interface{}) bool Unload() Load(a ...interface{}) bool GetDistance(arg1 int, arg2 int) (_swig_ret float32) GetNnsByItem(a ...interface{}) GetNnsByVector(a ...interface{}) GetNItems() (_swig_ret int) Verbose(arg1 bool) GetItem(arg1 int, arg2 *[]float32) OnDiskBuild(arg1 string) (_swig_ret bool) SwigIsAnnoyIndex() SwigGetAnnoyIndex() AnnoyIndex }
func NewAnnoyIndexDotProduct ¶
func NewAnnoyIndexDotProduct(arg1 int) (_swig_ret AnnoyIndexDotProduct)
type AnnoyIndexEuclidean ¶
type AnnoyIndexEuclidean interface { Swigcptr() uintptr SwigIsAnnoyIndexEuclidean() AddItem(arg1 int, arg2 []float32) Build(arg1 int) Save(a ...interface{}) bool Unload() Load(a ...interface{}) bool GetDistance(arg1 int, arg2 int) (_swig_ret float32) GetNnsByItem(a ...interface{}) GetNnsByVector(a ...interface{}) GetNItems() (_swig_ret int) Verbose(arg1 bool) GetItem(arg1 int, arg2 *[]float32) OnDiskBuild(arg1 string) (_swig_ret bool) SwigIsAnnoyIndex() SwigGetAnnoyIndex() AnnoyIndex }
func NewAnnoyIndexEuclidean ¶
func NewAnnoyIndexEuclidean(arg1 int) (_swig_ret AnnoyIndexEuclidean)
type AnnoyIndexManhattan ¶
type AnnoyIndexManhattan interface { Swigcptr() uintptr SwigIsAnnoyIndexManhattan() AddItem(arg1 int, arg2 []float32) Build(arg1 int) Save(a ...interface{}) bool Unload() Load(a ...interface{}) bool GetDistance(arg1 int, arg2 int) (_swig_ret float32) GetNnsByItem(a ...interface{}) GetNnsByVector(a ...interface{}) GetNItems() (_swig_ret int) Verbose(arg1 bool) GetItem(arg1 int, arg2 *[]float32) OnDiskBuild(arg1 string) (_swig_ret bool) SwigIsAnnoyIndex() SwigGetAnnoyIndex() AnnoyIndex }
func NewAnnoyIndexManhattan ¶
func NewAnnoyIndexManhattan(arg1 int) (_swig_ret AnnoyIndexManhattan)
type SwigcptrAnnoyIndex ¶
type SwigcptrAnnoyIndex uintptr
func (SwigcptrAnnoyIndex) AddItem ¶
func (arg1 SwigcptrAnnoyIndex) AddItem(arg2 int, arg3 []float32)
func (SwigcptrAnnoyIndex) Build ¶
func (arg1 SwigcptrAnnoyIndex) Build(arg2 int)
func (SwigcptrAnnoyIndex) GetDistance ¶
func (arg1 SwigcptrAnnoyIndex) GetDistance(arg2 int, arg3 int) (_swig_ret float32)
func (SwigcptrAnnoyIndex) GetItem ¶
func (arg1 SwigcptrAnnoyIndex) GetItem(arg2 int, arg3 *[]float32)
func (SwigcptrAnnoyIndex) GetNItems ¶
func (arg1 SwigcptrAnnoyIndex) GetNItems() (_swig_ret int)
func (SwigcptrAnnoyIndex) GetNnsByItem ¶
func (p SwigcptrAnnoyIndex) GetNnsByItem(a ...interface{})
func (SwigcptrAnnoyIndex) GetNnsByItem__SWIG_0 ¶
func (SwigcptrAnnoyIndex) GetNnsByItem__SWIG_1 ¶
func (arg1 SwigcptrAnnoyIndex) GetNnsByItem__SWIG_1(arg2 int, arg3 int, arg4 int, arg5 *[]int)
func (SwigcptrAnnoyIndex) GetNnsByVector ¶
func (p SwigcptrAnnoyIndex) GetNnsByVector(a ...interface{})
func (SwigcptrAnnoyIndex) GetNnsByVector__SWIG_0 ¶
func (SwigcptrAnnoyIndex) GetNnsByVector__SWIG_1 ¶
func (arg1 SwigcptrAnnoyIndex) GetNnsByVector__SWIG_1(arg2 []float32, arg3 int, arg4 int, arg5 *[]int)
func (SwigcptrAnnoyIndex) Load ¶
func (p SwigcptrAnnoyIndex) Load(a ...interface{}) bool
func (SwigcptrAnnoyIndex) Load__SWIG_0 ¶
func (arg1 SwigcptrAnnoyIndex) Load__SWIG_0(arg2 string, arg3 bool) (_swig_ret bool)
func (SwigcptrAnnoyIndex) Load__SWIG_1 ¶
func (arg1 SwigcptrAnnoyIndex) Load__SWIG_1(arg2 string) (_swig_ret bool)
func (SwigcptrAnnoyIndex) OnDiskBuild ¶
func (arg1 SwigcptrAnnoyIndex) OnDiskBuild(arg2 string) (_swig_ret bool)
func (SwigcptrAnnoyIndex) Save ¶
func (p SwigcptrAnnoyIndex) Save(a ...interface{}) bool
func (SwigcptrAnnoyIndex) Save__SWIG_0 ¶
func (arg1 SwigcptrAnnoyIndex) Save__SWIG_0(arg2 string, arg3 bool) (_swig_ret bool)
func (SwigcptrAnnoyIndex) Save__SWIG_1 ¶
func (arg1 SwigcptrAnnoyIndex) Save__SWIG_1(arg2 string) (_swig_ret bool)
func (SwigcptrAnnoyIndex) SwigIsAnnoyIndex ¶
func (p SwigcptrAnnoyIndex) SwigIsAnnoyIndex()
func (SwigcptrAnnoyIndex) Swigcptr ¶
func (p SwigcptrAnnoyIndex) Swigcptr() uintptr
func (SwigcptrAnnoyIndex) Unload ¶
func (arg1 SwigcptrAnnoyIndex) Unload()
func (SwigcptrAnnoyIndex) Verbose ¶
func (arg1 SwigcptrAnnoyIndex) Verbose(arg2 bool)
type SwigcptrAnnoyIndexAngular ¶
type SwigcptrAnnoyIndexAngular uintptr
func (SwigcptrAnnoyIndexAngular) AddItem ¶
func (_swig_base SwigcptrAnnoyIndexAngular) AddItem(arg1 int, arg2 []float32)
func (SwigcptrAnnoyIndexAngular) Build ¶
func (_swig_base SwigcptrAnnoyIndexAngular) Build(arg1 int)
func (SwigcptrAnnoyIndexAngular) GetDistance ¶
func (_swig_base SwigcptrAnnoyIndexAngular) GetDistance(arg1 int, arg2 int) (_swig_ret float32)
func (SwigcptrAnnoyIndexAngular) GetItem ¶
func (_swig_base SwigcptrAnnoyIndexAngular) GetItem(arg1 int, arg2 *[]float32)
func (SwigcptrAnnoyIndexAngular) GetNItems ¶
func (_swig_base SwigcptrAnnoyIndexAngular) GetNItems() (_swig_ret int)
func (SwigcptrAnnoyIndexAngular) GetNnsByItem ¶
func (p SwigcptrAnnoyIndexAngular) GetNnsByItem(a ...interface{})
func (SwigcptrAnnoyIndexAngular) GetNnsByItem__SWIG_0 ¶
func (SwigcptrAnnoyIndexAngular) GetNnsByItem__SWIG_1 ¶
func (_swig_base SwigcptrAnnoyIndexAngular) GetNnsByItem__SWIG_1(arg1 int, arg2 int, arg3 int, arg4 *[]int)
func (SwigcptrAnnoyIndexAngular) GetNnsByVector ¶
func (p SwigcptrAnnoyIndexAngular) GetNnsByVector(a ...interface{})
func (SwigcptrAnnoyIndexAngular) GetNnsByVector__SWIG_0 ¶
func (SwigcptrAnnoyIndexAngular) GetNnsByVector__SWIG_1 ¶
func (_swig_base SwigcptrAnnoyIndexAngular) GetNnsByVector__SWIG_1(arg1 []float32, arg2 int, arg3 int, arg4 *[]int)
func (SwigcptrAnnoyIndexAngular) Load ¶
func (p SwigcptrAnnoyIndexAngular) Load(a ...interface{}) bool
func (SwigcptrAnnoyIndexAngular) Load__SWIG_0 ¶
func (_swig_base SwigcptrAnnoyIndexAngular) Load__SWIG_0(arg1 string, arg2 bool) (_swig_ret bool)
func (SwigcptrAnnoyIndexAngular) Load__SWIG_1 ¶
func (_swig_base SwigcptrAnnoyIndexAngular) Load__SWIG_1(arg1 string) (_swig_ret bool)
func (SwigcptrAnnoyIndexAngular) OnDiskBuild ¶
func (_swig_base SwigcptrAnnoyIndexAngular) OnDiskBuild(arg1 string) (_swig_ret bool)
func (SwigcptrAnnoyIndexAngular) Save ¶
func (p SwigcptrAnnoyIndexAngular) Save(a ...interface{}) bool
func (SwigcptrAnnoyIndexAngular) Save__SWIG_0 ¶
func (_swig_base SwigcptrAnnoyIndexAngular) Save__SWIG_0(arg1 string, arg2 bool) (_swig_ret bool)
func (SwigcptrAnnoyIndexAngular) Save__SWIG_1 ¶
func (_swig_base SwigcptrAnnoyIndexAngular) Save__SWIG_1(arg1 string) (_swig_ret bool)
func (SwigcptrAnnoyIndexAngular) SwigGetAnnoyIndex ¶
func (p SwigcptrAnnoyIndexAngular) SwigGetAnnoyIndex() AnnoyIndex
func (SwigcptrAnnoyIndexAngular) SwigIsAnnoyIndex ¶
func (p SwigcptrAnnoyIndexAngular) SwigIsAnnoyIndex()
func (SwigcptrAnnoyIndexAngular) SwigIsAnnoyIndexAngular ¶
func (p SwigcptrAnnoyIndexAngular) SwigIsAnnoyIndexAngular()
func (SwigcptrAnnoyIndexAngular) Swigcptr ¶
func (p SwigcptrAnnoyIndexAngular) Swigcptr() uintptr
func (SwigcptrAnnoyIndexAngular) Unload ¶
func (_swig_base SwigcptrAnnoyIndexAngular) Unload()
func (SwigcptrAnnoyIndexAngular) Verbose ¶
func (_swig_base SwigcptrAnnoyIndexAngular) Verbose(arg1 bool)
type SwigcptrAnnoyIndexDotProduct ¶
type SwigcptrAnnoyIndexDotProduct uintptr
func (SwigcptrAnnoyIndexDotProduct) AddItem ¶
func (_swig_base SwigcptrAnnoyIndexDotProduct) AddItem(arg1 int, arg2 []float32)
func (SwigcptrAnnoyIndexDotProduct) Build ¶
func (_swig_base SwigcptrAnnoyIndexDotProduct) Build(arg1 int)
func (SwigcptrAnnoyIndexDotProduct) GetDistance ¶
func (_swig_base SwigcptrAnnoyIndexDotProduct) GetDistance(arg1 int, arg2 int) (_swig_ret float32)
func (SwigcptrAnnoyIndexDotProduct) GetItem ¶
func (_swig_base SwigcptrAnnoyIndexDotProduct) GetItem(arg1 int, arg2 *[]float32)
func (SwigcptrAnnoyIndexDotProduct) GetNItems ¶
func (_swig_base SwigcptrAnnoyIndexDotProduct) GetNItems() (_swig_ret int)
func (SwigcptrAnnoyIndexDotProduct) GetNnsByItem ¶
func (p SwigcptrAnnoyIndexDotProduct) GetNnsByItem(a ...interface{})
func (SwigcptrAnnoyIndexDotProduct) GetNnsByItem__SWIG_0 ¶
func (SwigcptrAnnoyIndexDotProduct) GetNnsByItem__SWIG_1 ¶
func (_swig_base SwigcptrAnnoyIndexDotProduct) GetNnsByItem__SWIG_1(arg1 int, arg2 int, arg3 int, arg4 *[]int)
func (SwigcptrAnnoyIndexDotProduct) GetNnsByVector ¶
func (p SwigcptrAnnoyIndexDotProduct) GetNnsByVector(a ...interface{})
func (SwigcptrAnnoyIndexDotProduct) GetNnsByVector__SWIG_0 ¶
func (SwigcptrAnnoyIndexDotProduct) GetNnsByVector__SWIG_1 ¶
func (_swig_base SwigcptrAnnoyIndexDotProduct) GetNnsByVector__SWIG_1(arg1 []float32, arg2 int, arg3 int, arg4 *[]int)
func (SwigcptrAnnoyIndexDotProduct) Load ¶
func (p SwigcptrAnnoyIndexDotProduct) Load(a ...interface{}) bool
func (SwigcptrAnnoyIndexDotProduct) Load__SWIG_0 ¶
func (_swig_base SwigcptrAnnoyIndexDotProduct) Load__SWIG_0(arg1 string, arg2 bool) (_swig_ret bool)
func (SwigcptrAnnoyIndexDotProduct) Load__SWIG_1 ¶
func (_swig_base SwigcptrAnnoyIndexDotProduct) Load__SWIG_1(arg1 string) (_swig_ret bool)
func (SwigcptrAnnoyIndexDotProduct) OnDiskBuild ¶
func (_swig_base SwigcptrAnnoyIndexDotProduct) OnDiskBuild(arg1 string) (_swig_ret bool)
func (SwigcptrAnnoyIndexDotProduct) Save ¶
func (p SwigcptrAnnoyIndexDotProduct) Save(a ...interface{}) bool
func (SwigcptrAnnoyIndexDotProduct) Save__SWIG_0 ¶
func (_swig_base SwigcptrAnnoyIndexDotProduct) Save__SWIG_0(arg1 string, arg2 bool) (_swig_ret bool)
func (SwigcptrAnnoyIndexDotProduct) Save__SWIG_1 ¶
func (_swig_base SwigcptrAnnoyIndexDotProduct) Save__SWIG_1(arg1 string) (_swig_ret bool)
func (SwigcptrAnnoyIndexDotProduct) SwigGetAnnoyIndex ¶
func (p SwigcptrAnnoyIndexDotProduct) SwigGetAnnoyIndex() AnnoyIndex
func (SwigcptrAnnoyIndexDotProduct) SwigIsAnnoyIndex ¶
func (p SwigcptrAnnoyIndexDotProduct) SwigIsAnnoyIndex()
func (SwigcptrAnnoyIndexDotProduct) SwigIsAnnoyIndexDotProduct ¶
func (p SwigcptrAnnoyIndexDotProduct) SwigIsAnnoyIndexDotProduct()
func (SwigcptrAnnoyIndexDotProduct) Swigcptr ¶
func (p SwigcptrAnnoyIndexDotProduct) Swigcptr() uintptr
func (SwigcptrAnnoyIndexDotProduct) Unload ¶
func (_swig_base SwigcptrAnnoyIndexDotProduct) Unload()
func (SwigcptrAnnoyIndexDotProduct) Verbose ¶
func (_swig_base SwigcptrAnnoyIndexDotProduct) Verbose(arg1 bool)
type SwigcptrAnnoyIndexEuclidean ¶
type SwigcptrAnnoyIndexEuclidean uintptr
func (SwigcptrAnnoyIndexEuclidean) AddItem ¶
func (_swig_base SwigcptrAnnoyIndexEuclidean) AddItem(arg1 int, arg2 []float32)
func (SwigcptrAnnoyIndexEuclidean) Build ¶
func (_swig_base SwigcptrAnnoyIndexEuclidean) Build(arg1 int)
func (SwigcptrAnnoyIndexEuclidean) GetDistance ¶
func (_swig_base SwigcptrAnnoyIndexEuclidean) GetDistance(arg1 int, arg2 int) (_swig_ret float32)
func (SwigcptrAnnoyIndexEuclidean) GetItem ¶
func (_swig_base SwigcptrAnnoyIndexEuclidean) GetItem(arg1 int, arg2 *[]float32)
func (SwigcptrAnnoyIndexEuclidean) GetNItems ¶
func (_swig_base SwigcptrAnnoyIndexEuclidean) GetNItems() (_swig_ret int)
func (SwigcptrAnnoyIndexEuclidean) GetNnsByItem ¶
func (p SwigcptrAnnoyIndexEuclidean) GetNnsByItem(a ...interface{})
func (SwigcptrAnnoyIndexEuclidean) GetNnsByItem__SWIG_0 ¶
func (SwigcptrAnnoyIndexEuclidean) GetNnsByItem__SWIG_1 ¶
func (_swig_base SwigcptrAnnoyIndexEuclidean) GetNnsByItem__SWIG_1(arg1 int, arg2 int, arg3 int, arg4 *[]int)
func (SwigcptrAnnoyIndexEuclidean) GetNnsByVector ¶
func (p SwigcptrAnnoyIndexEuclidean) GetNnsByVector(a ...interface{})
func (SwigcptrAnnoyIndexEuclidean) GetNnsByVector__SWIG_0 ¶
func (SwigcptrAnnoyIndexEuclidean) GetNnsByVector__SWIG_1 ¶
func (_swig_base SwigcptrAnnoyIndexEuclidean) GetNnsByVector__SWIG_1(arg1 []float32, arg2 int, arg3 int, arg4 *[]int)
func (SwigcptrAnnoyIndexEuclidean) Load ¶
func (p SwigcptrAnnoyIndexEuclidean) Load(a ...interface{}) bool
func (SwigcptrAnnoyIndexEuclidean) Load__SWIG_0 ¶
func (_swig_base SwigcptrAnnoyIndexEuclidean) Load__SWIG_0(arg1 string, arg2 bool) (_swig_ret bool)
func (SwigcptrAnnoyIndexEuclidean) Load__SWIG_1 ¶
func (_swig_base SwigcptrAnnoyIndexEuclidean) Load__SWIG_1(arg1 string) (_swig_ret bool)
func (SwigcptrAnnoyIndexEuclidean) OnDiskBuild ¶
func (_swig_base SwigcptrAnnoyIndexEuclidean) OnDiskBuild(arg1 string) (_swig_ret bool)
func (SwigcptrAnnoyIndexEuclidean) Save ¶
func (p SwigcptrAnnoyIndexEuclidean) Save(a ...interface{}) bool
func (SwigcptrAnnoyIndexEuclidean) Save__SWIG_0 ¶
func (_swig_base SwigcptrAnnoyIndexEuclidean) Save__SWIG_0(arg1 string, arg2 bool) (_swig_ret bool)
func (SwigcptrAnnoyIndexEuclidean) Save__SWIG_1 ¶
func (_swig_base SwigcptrAnnoyIndexEuclidean) Save__SWIG_1(arg1 string) (_swig_ret bool)
func (SwigcptrAnnoyIndexEuclidean) SwigGetAnnoyIndex ¶
func (p SwigcptrAnnoyIndexEuclidean) SwigGetAnnoyIndex() AnnoyIndex
func (SwigcptrAnnoyIndexEuclidean) SwigIsAnnoyIndex ¶
func (p SwigcptrAnnoyIndexEuclidean) SwigIsAnnoyIndex()
func (SwigcptrAnnoyIndexEuclidean) SwigIsAnnoyIndexEuclidean ¶
func (p SwigcptrAnnoyIndexEuclidean) SwigIsAnnoyIndexEuclidean()
func (SwigcptrAnnoyIndexEuclidean) Swigcptr ¶
func (p SwigcptrAnnoyIndexEuclidean) Swigcptr() uintptr
func (SwigcptrAnnoyIndexEuclidean) Unload ¶
func (_swig_base SwigcptrAnnoyIndexEuclidean) Unload()
func (SwigcptrAnnoyIndexEuclidean) Verbose ¶
func (_swig_base SwigcptrAnnoyIndexEuclidean) Verbose(arg1 bool)
type SwigcptrAnnoyIndexManhattan ¶
type SwigcptrAnnoyIndexManhattan uintptr
func (SwigcptrAnnoyIndexManhattan) AddItem ¶
func (_swig_base SwigcptrAnnoyIndexManhattan) AddItem(arg1 int, arg2 []float32)
func (SwigcptrAnnoyIndexManhattan) Build ¶
func (_swig_base SwigcptrAnnoyIndexManhattan) Build(arg1 int)
func (SwigcptrAnnoyIndexManhattan) GetDistance ¶
func (_swig_base SwigcptrAnnoyIndexManhattan) GetDistance(arg1 int, arg2 int) (_swig_ret float32)
func (SwigcptrAnnoyIndexManhattan) GetItem ¶
func (_swig_base SwigcptrAnnoyIndexManhattan) GetItem(arg1 int, arg2 *[]float32)
func (SwigcptrAnnoyIndexManhattan) GetNItems ¶
func (_swig_base SwigcptrAnnoyIndexManhattan) GetNItems() (_swig_ret int)
func (SwigcptrAnnoyIndexManhattan) GetNnsByItem ¶
func (p SwigcptrAnnoyIndexManhattan) GetNnsByItem(a ...interface{})
func (SwigcptrAnnoyIndexManhattan) GetNnsByItem__SWIG_0 ¶
func (SwigcptrAnnoyIndexManhattan) GetNnsByItem__SWIG_1 ¶
func (_swig_base SwigcptrAnnoyIndexManhattan) GetNnsByItem__SWIG_1(arg1 int, arg2 int, arg3 int, arg4 *[]int)
func (SwigcptrAnnoyIndexManhattan) GetNnsByVector ¶
func (p SwigcptrAnnoyIndexManhattan) GetNnsByVector(a ...interface{})
func (SwigcptrAnnoyIndexManhattan) GetNnsByVector__SWIG_0 ¶
func (SwigcptrAnnoyIndexManhattan) GetNnsByVector__SWIG_1 ¶
func (_swig_base SwigcptrAnnoyIndexManhattan) GetNnsByVector__SWIG_1(arg1 []float32, arg2 int, arg3 int, arg4 *[]int)
func (SwigcptrAnnoyIndexManhattan) Load ¶
func (p SwigcptrAnnoyIndexManhattan) Load(a ...interface{}) bool
func (SwigcptrAnnoyIndexManhattan) Load__SWIG_0 ¶
func (_swig_base SwigcptrAnnoyIndexManhattan) Load__SWIG_0(arg1 string, arg2 bool) (_swig_ret bool)
func (SwigcptrAnnoyIndexManhattan) Load__SWIG_1 ¶
func (_swig_base SwigcptrAnnoyIndexManhattan) Load__SWIG_1(arg1 string) (_swig_ret bool)
func (SwigcptrAnnoyIndexManhattan) OnDiskBuild ¶
func (_swig_base SwigcptrAnnoyIndexManhattan) OnDiskBuild(arg1 string) (_swig_ret bool)
func (SwigcptrAnnoyIndexManhattan) Save ¶
func (p SwigcptrAnnoyIndexManhattan) Save(a ...interface{}) bool
func (SwigcptrAnnoyIndexManhattan) Save__SWIG_0 ¶
func (_swig_base SwigcptrAnnoyIndexManhattan) Save__SWIG_0(arg1 string, arg2 bool) (_swig_ret bool)
func (SwigcptrAnnoyIndexManhattan) Save__SWIG_1 ¶
func (_swig_base SwigcptrAnnoyIndexManhattan) Save__SWIG_1(arg1 string) (_swig_ret bool)
func (SwigcptrAnnoyIndexManhattan) SwigGetAnnoyIndex ¶
func (p SwigcptrAnnoyIndexManhattan) SwigGetAnnoyIndex() AnnoyIndex
func (SwigcptrAnnoyIndexManhattan) SwigIsAnnoyIndex ¶
func (p SwigcptrAnnoyIndexManhattan) SwigIsAnnoyIndex()
func (SwigcptrAnnoyIndexManhattan) SwigIsAnnoyIndexManhattan ¶
func (p SwigcptrAnnoyIndexManhattan) SwigIsAnnoyIndexManhattan()
func (SwigcptrAnnoyIndexManhattan) Swigcptr ¶
func (p SwigcptrAnnoyIndexManhattan) Swigcptr() uintptr
func (SwigcptrAnnoyIndexManhattan) Unload ¶
func (_swig_base SwigcptrAnnoyIndexManhattan) Unload()
func (SwigcptrAnnoyIndexManhattan) Verbose ¶
func (_swig_base SwigcptrAnnoyIndexManhattan) Verbose(arg1 bool)
Click to show internal directories.
Click to hide internal directories.