Refined complexity analysis for heap operations (Q578912)

From MaRDI portal
Revision as of 09:46, 30 July 2024 by Openalex240730090724 (talk | contribs) (Set OpenAlex properties.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)





scientific article
Language Label Description Also known as
English
Refined complexity analysis for heap operations
scientific article

    Statements

    Refined complexity analysis for heap operations (English)
    0 references
    0 references
    0 references
    1987
    0 references
    A heap (priority queue) is a data structure for representing a set of items, each item having an associated numerical value, which facilitates such operations as insertion, deletion, merge (union), and findmin (find the item having the minimum value). It is well known that when n items are present the inherent complexity of these operations (in terms of comparisons) is log n per operation in the worst case. However, Cheriton and Tarjan have observed that when the frequency of findmin operations is small relative to the frequency of other operations, then certain implementations of heaps perform better than log n per operation. We explore this phenomenon with respect to inherent complexity.
    0 references
    heap
    0 references
    priority queue
    0 references
    data structure
    0 references
    inherent complexity
    0 references
    frequency of findmin operations
    0 references

    Identifiers