internal

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2023 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SampleHeap

type SampleHeap[T any] []Vsample[T]

func (*SampleHeap[T]) Pop

func (sh *SampleHeap[T]) Pop() Vsample[T]

func (*SampleHeap[T]) Push

func (sh *SampleHeap[T]) Push(v Vsample[T])

type Vsample

type Vsample[T any] struct {
	Sample T
	Weight float64
}

Jump to

Keyboard shortcuts

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