Package-level declarations

Types

Link copied to clipboard
interface HeapEntry<out Element, out Priority>

Represents a pair of an element and its (future) priority in the heap.

Link copied to clipboard

Represents a node in the inner structure of MinimumHeap/MaximumHeap.

Link copied to clipboard

Represents a node in the inner structure of LinkedMinimumHeap/LinkedMaximumHeap. See HeapNode for general definition.

Link copied to clipboard

Represents a linked minimum heap. See MaximumHeap for general definition of minimum heap.

Link copied to clipboard

Represents a linked minimum heap. See MinimumHeap for general definition of minimum heap.

Link copied to clipboard

In Kone, maximum heap is a structure that consists of:

Link copied to clipboard

In Kone, minimum heap is a structure that consists of:

Functions

Link copied to clipboard

Returns simple HeapEntry instance that has the specified element and priority.

Link copied to clipboard

Checks if the heap is empty.

Link copied to clipboard

Checks if the heap is not empty.