alg

package
v0.3.5-0...-ad62298 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Data

type Data interface {
	Score() float64
}

Data .

type Ranker

type Ranker interface {
	Rank(score float64) int
}

Ranker .

func NewRanker

func NewRanker(d []float64, delim int) Ranker

NewRanker .

type StdRanker

type StdRanker struct {
	// contains filtered or unexported fields
}

StdRanker .

func (*StdRanker) Rank

func (r *StdRanker) Rank(score float64) int

Rank .

Jump to

Keyboard shortcuts

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