Uses of Class
org.cicirello.ds.IntBinaryHeap
Packages that use IntBinaryHeap
Package
Description
This package includes core data structures used by other of our libraries and projects.
-
Uses of IntBinaryHeap in org.cicirello.ds
Classes in org.cicirello.ds that implement interfaces with type arguments of type IntBinaryHeapModifier and TypeClassDescriptionfinal classAn implementation of a Binary Heap of (element, priority) pairs, such that the elements are distinct integers in the interval [0, n), and with priority values also of type int.Methods in org.cicirello.ds that return IntBinaryHeapModifier and TypeMethodDescriptionIntBinaryHeap.copy()static IntBinaryHeapIntBinaryHeap.createMaxHeap(int n) Initializes an empty max-heap of (int, priority) pairs, such that the domain of the elements are the integers in [0, n).static IntBinaryHeapIntBinaryHeap.createMinHeap(int n) Initializes an empty min-heap of (int, priority) pairs, such that the domain of the elements are the integers in [0, n).