dkh.container.radixheap

  • Declaration

    template RadixHeap(T, alias pred = "a")

    Radix Heap

    Examples

    1. RadixHeap!int q; q.insert(2); q.insert(1); assert(q.front == 1); q.removeFront(); assert(q.front == 2);

    • Declaration

      struct RadixHeap;

      • Declaration

        const @property bool empty();

      • Declaration

        const @property size_t length();
        alias opDollar = length;

      • Declaration

        T front();

        Warning: return minimum

      • Declaration

        void insert(T item);

      • Declaration

        void removeFront();