binaryheap

package
v0.0.0-...-a13166e Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2020 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Interface

type Interface interface {
	Len() int
	Insert(v interface{}) Interface
	InsertMany(values ...interface{}) Interface
	Shift() interface{}
	Peek() interface{}
	Clear() Interface
	ToSlice() []interface{}
	SetCompareFunc(f compare.Func) Interface
}

Interface for Binary Heap.

func New

func New() Interface

New returns a new binary heap.

Jump to

Keyboard shortcuts

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