Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Heap ¶
type Heap interface { Push(compare.Item) ID PushWithID(ID, compare.Item) Pop() (compare.Item, error) Peek() (ID, compare.Item, error) Clean() []compare.Item Update(ID, compare.Item) Remove(ID) compare.Item Find(ID) (compare.Item, bool) Range(func(item compare.Item) bool) }
func NewHeapMax ¶
func NewHeapMin ¶
Click to show internal directories.
Click to hide internal directories.