Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type PairingHeap ¶
func New ¶
func New[Elem cmp.Ordered]() *PairingHeap[Elem]
func (*PairingHeap[Elem]) Empty ¶
func (heap *PairingHeap[Elem]) Empty() bool
func (*PairingHeap[Elem]) Peek ¶
func (heap *PairingHeap[Elem]) Peek() Elem
func (*PairingHeap[Elem]) Pop ¶
func (heap *PairingHeap[Elem]) Pop() Elem
func (*PairingHeap[Elem]) Push ¶
func (heap *PairingHeap[Elem]) Push(e Elem)
type PairingTree ¶
func Meld ¶
func Meld[Elem cmp.Ordered](tree1 *PairingTree[Elem], tree2 *PairingTree[Elem]) *PairingTree[Elem]
Click to show internal directories.
Click to hide internal directories.