Uses of Class
org.cicirello.ds.SimpleBinaryHeapDouble
Package
Description
This package includes core data structures used by other of our libraries and projects.
-
Uses of SimpleBinaryHeapDouble in org.cicirello.ds
Modifier and TypeMethodDescriptionSimpleBinaryHeapDouble.copy()
static <E> SimpleBinaryHeapDouble<E>
SimpleBinaryHeapDouble.createMaxHeap()
Creates an empty SimpleBinaryHeapDouble with theDEFAULT_INITIAL_CAPACITY
as the initial capacity, and a maximum-priority-first-out priority order.static <E> SimpleBinaryHeapDouble<E>
SimpleBinaryHeapDouble.createMaxHeap
(int initialCapacity) Creates an empty SimpleBinaryHeapDouble with a specified initial capacity, and a maximum-priority-first-out priority order.static <E> SimpleBinaryHeapDouble<E>
SimpleBinaryHeapDouble.createMaxHeap
(Collection<PriorityQueueNode.Double<E>> initialElements) Creates a SimpleBinaryHeapDouble from a collection of (element, priority) pairs, with a maximum-priority-first-out priority order.static <E> SimpleBinaryHeapDouble<E>
SimpleBinaryHeapDouble.createMinHeap()
Creates an empty SimpleBinaryHeapDouble with theDEFAULT_INITIAL_CAPACITY
as the initial capacity, and a minimum-priority-first-out priority order.static <E> SimpleBinaryHeapDouble<E>
SimpleBinaryHeapDouble.createMinHeap
(int initialCapacity) Creates an empty SimpleBinaryHeapDouble with a specified initial capacity, and a minimum-priority-first-out priority order.static <E> SimpleBinaryHeapDouble<E>
SimpleBinaryHeapDouble.createMinHeap
(Collection<PriorityQueueNode.Double<E>> initialElements) Creates a SimpleBinaryHeapDouble from a collection of (element, priority) pairs, with a minimum-priority-first-out priority order.Modifier and TypeMethodDescriptionboolean
SimpleBinaryHeapDouble.merge
(SimpleBinaryHeapDouble<E> other) Merges another priority queue into this one, adding all of its (element, priority) pairs.