【24h】

Sparse Prefix Sums

机译:稀疏的前缀SUM

获取原文

摘要

The prefix sum approach is a powerful technique to answer range-sum queries over multi-dimensional arrays in constant time by requiring only a few look-ups in an array of precomputed prefix sums. In this paper, we propose the sparse prefix sum approach that is based on relative prefix sums and exploits sparsity in the data to vastly reduce the storage costs for the prefix sums. The proposed approach has desirable theoretical properties and works well in practice. It is the first approach achieving constant query time with sub-linear update costs and storage costs for range-sum queries over sparse low-dimensional arrays. Experiments on real-world data sets show that the approach reduces storage costs by an order of magnitude with only a small overhead in query time, thus preserving microsecond-fast query answering.
机译:前缀和方法是一种强大的技术,可以在恒定的时间内通过在预先计算的前缀和数组中只需要几个查询来应答多维阵列上的范围查询。在本文中,我们提出了基于相对前缀的稀疏前缀和方法,并利用数据中的稀疏性,从而大大降低了前缀总和的存储成本。该拟议方法具有理论性质的理想性质,在实践中运作良好。它是实现恒定查询时间的第一种方法,以稀疏低维数组的范围和查询的子线性更新成本和存储成本。实验对现实世界数据集的实验表明,该方法在Query Time中仅用小开销减少了存储成本,从而保持了微秒快查询应答。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号