Package org.jheaps

Interface DoubleEndedAddressableHeap<K,​V>

  • Type Parameters:
    K - the type of keys maintained by this heap
    V - the type of values maintained by this heap
    All Superinterfaces:
    AddressableHeap<K,​V>
    All Known Subinterfaces:
    MergeableDoubleEndedAddressableHeap<K,​V>
    All Known Implementing Classes:
    ReflectedFibonacciHeap, ReflectedHeap, ReflectedPairingHeap

    public interface DoubleEndedAddressableHeap<K,​V>
    extends AddressableHeap<K,​V>
    A double-ended heap whose elements can be addressed using handles. An insert operation returns a AddressableHeap.Handle which can later be used in order to manipulate the element, such as decreasing its key, increasing its key, or deleting it. Storing the handle externally is the responsibility of the user.
    Author:
    Dimitrios Michail