# Functions
Fix re-establishes the heap ordering after the element at index i has changed its value.
Init establishes the heap invariants required by the other routines in this package.
NewBinHeap returns a new binary heap.
NewBinHeapWithInitial returns a new binary heap with the given initial slice.
Pop removes and returns the minimum element (according to Less) from the heap.
Push pushes the element x onto the heap.
Remove removes and returns the element at index i from the heap.
WithMinHeap returns a BinHeapOption that configures a binary heap to be a min heap.
WithMaxHeap returns a BinHeapOption that configures a binary heap to be a max heap.
# Interfaces
The Interface type describes the requirements for a type using the routines in this package.
# Type aliases
BinHeapOption is a function that configures a binary heap.