...
首页> 外文期刊>OASIcs : OpenAccess Series in Informatics >Selection from Heaps, Row-Sorted Matrices, and X+Y Using Soft Heaps
【24h】

Selection from Heaps, Row-Sorted Matrices, and X+Y Using Soft Heaps

机译:使用软堆从堆,行排序矩阵和X + Y中进行选择

获取原文
   

获取外文期刊封面封底 >>

       

摘要

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.
机译:我们使用软堆来获得更简单的最优算法,用于从堆排序树,排序列表集合以及X + Y(其中X和Y)中选择第k个最小项和k个最小项的集合。是两个未排序的集合。我们的结果与Frederickson(1993)和Frederickson and Johnson(1982)的经典结果相匹配,并且在某种程度上得到了扩展和改进。特别地,为了从m个排序列表的集合中选择第k个最小项或k个最小项的集合,我们获得了一种新的最佳“输出敏感”算法,该算法仅执行O(m + sum_ {i = 1 } ^ m log(k_i + 1))比较,其中k_i是第i个列表的项目数量,该列表属于k个最小项目的整体集合。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号