...
首页> 外文期刊>PeerJ Computer Science >Optimally selecting the top k values from X + Y with layer-ordered heaps
【24h】

Optimally selecting the top k values from X + Y with layer-ordered heaps

机译:最佳地从x + y选择具有层订购的堆的顶部k值

获取原文
   

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

       

摘要

Selection and sorting the Cartesian sum, X + Y, are classic and important problems. Here, a new algorithm is presented, which generates the top k values of the form Xi+Yj . The algorithm relies on layer-ordered heaps, partial orderings of exponentially sized layers. The algorithm relies only on median-of-medians and is simple to implement. Furthermore, it uses data structures contiguous in memory, cache efficient, and fast in practice. The presented algorithm is demonstrated to be theoretically optimal.
机译:选择和排序笛卡尔总和x + y是经典和重要的问题。 这里,提出了一种新的算法,它产生了表单xi + yj的顶k值。 该算法依赖于层订购的堆,指数尺寸层的部分排序。 该算法仅依赖于中位数并易于实施。 此外,它使用内存中的数据结构,高速缓存高效,快速实践。 呈现的算法被证明是理论上最佳的。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号