Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BinHeap ¶
type BinHeap[T Item] struct { // contains filtered or unexported fields }
func NewBinHeap ¶
func (*BinHeap[T]) ExtractMin ¶
func (bh *BinHeap[T]) ExtractMin() T
func (*BinHeap[T]) PeekPriority ¶ added in v4.1.0
PeekPriority returns the highest priority
Click to show internal directories.
Click to hide internal directories.