pqueue

package
v0.0.0-...-bc1935d Latest Latest
Warning

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

Go to latest
Published: Dec 29, 2023 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 PriorityQueue

type PriorityQueue[T interface{ Less(other T) bool }] struct {
	// contains filtered or unexported fields
}

func (*PriorityQueue[T]) Len

func (pq *PriorityQueue[T]) Len() int

func (*PriorityQueue[T]) Pop

func (pq *PriorityQueue[T]) Pop() T

func (*PriorityQueue[T]) Push

func (pq *PriorityQueue[T]) Push(x T)

func (*PriorityQueue[T]) Remove

func (pq *PriorityQueue[T]) Remove(i int) T

Jump to

Keyboard shortcuts

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