Uses of Annotation Type
org.jheaps.annotations.ConstantTime
Packages that use ConstantTime
Package
Description
Heaps using an array representation
Heaps using an explicit "pointer-based" dag representation
Monotone heaps
Heaps using an explicit "pointer-based" tree representation
-
Uses of ConstantTime in org.jheaps.array
Methods in org.jheaps.array with annotations of type ConstantTimeModifier and TypeMethodDescriptionvoidAbstractArrayAddressableHeap.clear()Clear all the elements of the heap.voidAbstractArrayWeakHeap.clear()Clear all the elements of this heap.voidBinaryArrayBulkInsertWeakHeap.clear()Clear all the elements of this heap.voidBinaryArrayIntegerValueHeap.clear()Clear all the elements of this heap.AbstractArrayAddressableHeap.findMin()Find an element with the minimum key.AbstractArrayHeap.findMin()Find an element with the minimum key.BinaryArrayBulkInsertWeakHeap.findMin()Find an element with the minimum key.BinaryArrayIntegerValueHeap.findMin()Find an element with the minimum key.BinaryArrayWeakHeap.findMin()Find an element with the minimum key.BinaryArrayIntegerValueHeap.findMinValue()Find the value of an element with the minimum key.voidInsert a key into the heap.booleanAbstractArrayAddressableHeap.isEmpty()Returnstrueif this heap is empty.booleanAbstractArrayWeakHeap.isEmpty()Returnstrueif this heap is empty.booleanBinaryArrayBulkInsertWeakHeap.isEmpty()Returnstrueif this heap is empty.booleanBinaryArrayIntegerValueHeap.isEmpty()Returnstrueif this heap is empty.longAbstractArrayAddressableHeap.size()Returns the number of elements in the heap.longAbstractArrayWeakHeap.size()Returns the number of elements in this heap.longBinaryArrayBulkInsertWeakHeap.size()Returns the number of elements in this heap.longBinaryArrayIntegerValueHeap.size()Returns the number of elements in this heap. -
Uses of ConstantTime in org.jheaps.dag
Methods in org.jheaps.dag with annotations of type ConstantTimeModifier and TypeMethodDescriptionvoidHollowHeap.clear()Clear all the elements of the heap.HollowHeap.findMin()Find an element with the minimum key.Insert a new element into the heap with a null value.Insert a new element into the heap.booleanHollowHeap.isEmpty()Returnstrueif this heap is empty.voidHollowHeap.meld(MergeableAddressableHeap<K, V> other) Meld a heap into the current heap.longHollowHeap.size()Returns the number of elements in the heap.Constructors in org.jheaps.dag with annotations of type ConstantTimeModifierConstructorDescriptionConstructs a new, empty heap, using the natural ordering of its keys.HollowHeap(Comparator<? super K> comparator) Constructs a new, empty heap, ordered according to the given comparator. -
Uses of ConstantTime in org.jheaps.monotone
Methods in org.jheaps.monotone with annotations of type ConstantTimeModifier and TypeMethodDescriptionAbstractRadixAddressableHeap.findMin()Find an element with the minimum key.AbstractRadixHeap.findMin()Find an element with the minimum key.Insert a new element into the heap with a null value.Insert a new element into the heap.voidInsert a key into the heap.booleanAbstractRadixAddressableHeap.isEmpty()Returnstrueif this heap is empty.booleanAbstractRadixHeap.isEmpty()Returnstrueif this heap is empty.longAbstractRadixAddressableHeap.size()Returns the number of elements in the heap.longAbstractRadixHeap.size()Returns the number of elements in this heap. -
Uses of ConstantTime in org.jheaps.tree
Methods in org.jheaps.tree with annotations of type ConstantTimeModifier and TypeMethodDescriptionvoidBinaryTreeAddressableHeap.clear()Clear all the elements of the heap.voidBinaryTreeSoftAddressableHeap.clear()Clear all the elements of the heap.voidBinaryTreeSoftHeap.clear()Clear all the elements of this heap.voidCostlessMeldPairingHeap.clear()Clear all the elements of the heap.voidDaryTreeAddressableHeap.clear()voidFibonacciHeap.clear()Clear all the elements of the heap.voidPairingHeap.clear()Clear all the elements of the heap.voidRankPairingHeap.clear()Clear all the elements of the heap.voidSimpleFibonacciHeap.clear()Clear all the elements of the heap.voidSkewHeap.clear()Clear all the elements of the heap.voidFibonacciHeap.Node.decreaseKey(K newKey) Decrease the key of the element.voidRankPairingHeap.Node.decreaseKey(K newKey) Decrease the key of the element.voidSimpleFibonacciHeap.Node.decreaseKey(K newKey) Decrease the key of the element.BinaryTreeAddressableHeap.findMin()Find an element with the minimum key.CostlessMeldPairingHeap.findMin()Find an element with the minimum key.DaryTreeAddressableHeap.findMin()FibonacciHeap.findMin()Find an element with the minimum key.PairingHeap.findMin()Find an element with the minimum key.RankPairingHeap.findMin()Find an element with the minimum key.SimpleFibonacciHeap.findMin()Find an element with the minimum key.SkewHeap.findMin()Find an element with the minimum key.Insert a new element into the heap with a null value.Insert a new element into the heap.Insert a new element into the heap with a null value.Insert a new element into the heap.Insert a new element into the heap with a null value.Insert a new element into the heap.booleanBinaryTreeAddressableHeap.isEmpty()Returnstrueif this heap is empty.booleanBinaryTreeSoftAddressableHeap.isEmpty()Returnstrueif this heap is empty.booleanBinaryTreeSoftHeap.isEmpty()Returnstrueif this heap is empty.booleanCostlessMeldPairingHeap.isEmpty()Returnstrueif this heap is empty.booleanDaryTreeAddressableHeap.isEmpty()booleanFibonacciHeap.isEmpty()Returnstrueif this heap is empty.booleanPairingHeap.isEmpty()Returnstrueif this heap is empty.booleanRankPairingHeap.isEmpty()Returnstrueif this heap is empty.booleanSimpleFibonacciHeap.isEmpty()Returnstrueif this heap is empty.booleanSkewHeap.isEmpty()Returnstrueif this heap is empty.voidCostlessMeldPairingHeap.meld(MergeableAddressableHeap<K, V> other) Meld a heap into the current heap.voidFibonacciHeap.meld(MergeableAddressableHeap<K, V> other) Meld a heap into the current heap.voidRankPairingHeap.meld(MergeableAddressableHeap<K, V> other) Meld a heap into the current heap.voidSimpleFibonacciHeap.meld(MergeableAddressableHeap<K, V> other) Meld a heap into the current heap.longBinaryTreeAddressableHeap.size()Returns the number of elements in the heap.longBinaryTreeSoftAddressableHeap.size()Returns the number of elements in the heap.longBinaryTreeSoftHeap.size()Returns the number of elements in this heap.longCostlessMeldPairingHeap.size()Returns the number of elements in the heap.longDaryTreeAddressableHeap.size()longFibonacciHeap.size()Returns the number of elements in the heap.longPairingHeap.size()Returns the number of elements in the heap.longRankPairingHeap.size()Returns the number of elements in the heap.longSimpleFibonacciHeap.size()Returns the number of elements in the heap.longSkewHeap.size()Returns the number of elements in the heap.Constructors in org.jheaps.tree with annotations of type ConstantTimeModifierConstructorDescriptionConstructs a new, empty heap, using the natural ordering of its keys.CostlessMeldPairingHeap(Comparator<? super K> comparator) Constructs a new, empty heap, ordered according to the given comparator.Constructs a new, empty heap, using the natural ordering of its keys.FibonacciHeap(Comparator<? super K> comparator) Constructs a new, empty heap, ordered according to the given comparator.Constructs a new, empty heap, using the natural ordering of its keys.PairingHeap(Comparator<? super K> comparator) Constructs a new, empty heap, ordered according to the given comparator.Constructs a new, empty heap, using the natural ordering of its keys.RankPairingHeap(Comparator<? super K> comparator) Constructs a new, empty heap, ordered according to the given comparator.Constructs a new, empty heap, using the natural ordering of its keys.SimpleFibonacciHeap(Comparator<? super K> comparator) Constructs a new, empty heap, ordered according to the given comparator.