Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FixedCapHeap ¶
func NewFixedCapHeap ¶
func NewFixedCapHeap[T any, V Interface[T]](arr V) FixedCapHeap[T, V]
func (FixedCapHeap[T, V]) Put ¶
func (heap FixedCapHeap[T, V]) Put(val T)
type Heap2 ¶
type Heap2[T Interface2[T]] []T
func NewHeap2 ¶
func NewHeap2[T Interface2[T]](arr []T) Heap2[T]
type Interface2 ¶
Click to show internal directories.
Click to hide internal directories.