首页    期刊浏览 2024年10月06日 星期日
登录注册

文章基本信息

  • 标题:Selection from Heaps, Row-Sorted Matrices, and X+Y Using Soft Heaps
  • 本地全文:下载
  • 作者:Haim Kaplan ; L{'a}szl{'o} Kozma ; Or Zamir
  • 期刊名称:OASIcs : OpenAccess Series in Informatics
  • 电子版ISSN:2190-6807
  • 出版年度:2018
  • 卷号:69
  • 页码:1-21
  • DOI:10.4230/OASIcs.SOSA.2019.5
  • 出版社:Schloss Dagstuhl -- Leibniz-Zentrum fuer Informatik
  • 摘要:We use soft heaps to obtain simpler optimal algorithms for selecting the k-th smallest item, and the set of k smallest items, from a heap-ordered tree, from a collection of sorted lists, and from X+Y, where X and Y are two unsorted sets. Our results match, and in some ways extend and improve, classical results of Frederickson (1993) and Frederickson and Johnson (1982). In particular, for selecting the k-th smallest item, or the set of k smallest items, from a collection of m sorted lists we obtain a new optimal "output-sensitive" algorithm that performs only O(m + sum_{i=1}^m log(k_i+1)) comparisons, where k_i is the number of items of the i-th list that belong to the overall set of k smallest items.
  • 关键词:selection; soft heap
国家哲学社会科学文献中心版权所有