priorityqueue

package
v2.9.0 Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2022 License: MIT Imports: 3 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BinHeap

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

func NewBinHeap

func NewBinHeap(maxLen uint64) *BinHeap

func (*BinHeap) ExtractMin

func (bh *BinHeap) ExtractMin() pq.Item

func (*BinHeap) Insert

func (bh *BinHeap) Insert(item pq.Item)

func (*BinHeap) Len

func (bh *BinHeap) Len() uint64

Jump to

Keyboard shortcuts

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