HeapModule
HeapModule.mdimport HeapModule
Module information
- Declarations
- 24
- Symbols
- 24
Overview
Structures
struct Heap<Element>
A container type implementing a double-ended priority queue.
Heap
is a container ofComparable
elements that provides immediate access to its minimal and maximal members, and supports removing these items or inserting arbitrary new items in (amortized) logarithmic complexity.