typings

package
v0.0.0-...-83ee790 Latest Latest
Warning

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

Go to latest
Published: May 27, 2023 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SearchResult

type SearchResult struct {
	CorpusID int
	Score    float64
}

type SearchResultHeap

type SearchResultHeap []SearchResult

func (SearchResultHeap) Len

func (h SearchResultHeap) Len() int

func (SearchResultHeap) Less

func (h SearchResultHeap) Less(i, j int) bool

func (SearchResultHeap) Peek

func (h SearchResultHeap) Peek() SearchResult

Peek returns the smallest element from the typings.typings.SearchResultHeap without removing it.

func (*SearchResultHeap) Pop

func (h *SearchResultHeap) Pop() interface{}

func (*SearchResultHeap) Push

func (h *SearchResultHeap) Push(x interface{})

func (SearchResultHeap) Swap

func (h SearchResultHeap) Swap(i, j int)

Jump to

Keyboard shortcuts

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