A selectable sloppy heap (Q2312418)

From MaRDI portal





scientific article
Language Label Description Also known as
default for all languages
No label defined
    English
    A selectable sloppy heap
    scientific article

      Statements

      A selectable sloppy heap (English)
      0 references
      0 references
      0 references
      8 July 2019
      0 references
      Summary: We study the selection problem, namely that of computing the \(i\)th order statistic of \(n\) given elements. Here we offer a data structure called \textit{selectable sloppy heap} that handles a dynamic version in which upon request (i) a new element is inserted or (ii) an element of a prescribed quantile group is deleted from the data structure. Each operation is executed in constant time -- and is thus independent of \(n\) (the number of elements stored in the data structure) -- provided that the number of quantile groups is fixed. This is the first result of this kind accommodating both insertion and deletion in constant time. As such, our data structure outperforms the soft heap data structure of Chazelle (which only offers constant amortized complexity for a fixed error rate \(0 < \varepsilon \leq 1 / 2\)) in applications such as dynamic percentile maintenance. The design demonstrates how slowing down a certain computation can speed up the data structure. The method described here is likely to have further impact in the field of data structure design in extending asymptotic amortized upper bounds to same formula asymptotic worst-case bounds.
      0 references
      dynamic quantile maintenance
      0 references
      approximate selection
      0 references
      \(i\)th order statistic
      0 references
      mediocre element
      0 references
      tournament
      0 references
      online algorithm
      0 references
      0 references
      0 references
      0 references
      0 references
      0 references
      0 references
      0 references
      0 references
      0 references
      0 references
      0 references

      Identifiers

      0 references
      0 references
      0 references
      0 references
      0 references
      0 references
      0 references
      0 references