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