heap

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: May 23, 2022 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 Item

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

type Queue

type Queue []*Item

func (Queue) Len

func (m Queue) Len() int

func (Queue) Less

func (m Queue) Less(i, j int) bool

func (*Queue) Pop

func (m *Queue) Pop() interface{}

func (*Queue) Push

func (m *Queue) Push(d interface{})

func (Queue) Swap

func (m Queue) Swap(i, j int)

Jump to

Keyboard shortcuts

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