heap

package
v1.3.2 Latest Latest
Warning

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

Go to latest
Published: Jun 27, 2023 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 Heap

type Heap[T _interface.OrderKey[V], V constraints.Ordered] []T

func (*Heap[T, V]) First

func (heap *Heap[T, V]) First() T

func (*Heap[T, V]) Fix

func (heap *Heap[T, V]) Fix(i int)

func (Heap[T, V]) Init

func (heap Heap[T, V]) Init()

func (*Heap[T, V]) Last

func (heap *Heap[T, V]) Last() T

func (*Heap[T, V]) Pop

func (heap *Heap[T, V]) Pop() T

func (*Heap[T, V]) Push

func (heap *Heap[T, V]) Push(x T)

func (*Heap[T, V]) Remove

func (heap *Heap[T, V]) Remove(i int) T

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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