minheap

package
v0.0.0-...-d5eab1a Latest Latest
Warning

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

Go to latest
Published: Aug 23, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Init

func Init[H ~[]E, E cmp.Ordered](h *H)

func Less

func Less[H ~[]E, E cmp.Ordered](h H, i, j int) bool

func Pop

func Pop[H ~[]E, E cmp.Ordered](h *H) E

func Push

func Push[H ~[]E, E cmp.Ordered](h *H, v E)

Types

This section is empty.

Jump to

Keyboard shortcuts

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