首页> 外文期刊>The Computer Journal >A Comparative Study of Dual-Tree Algorithms for Computing Spatial Distance Histograms
【24h】

A Comparative Study of Dual-Tree Algorithms for Computing Spatial Distance Histograms

机译:用于计算空间距离直方图的双树算法的比较研究

获取原文
获取原文并翻译 | 示例
       

摘要

The 2-body correlation function (2-BCF) is a group of statistical measurements that found applications in many scientific domains. One type of 2-BCF named the Spatial Distance Histogram (SDH) is of vital importance in describing the physical features of natural systems. While a naïve way of computing SDH requires quadratical time, efficient algorithms based on resolving nodes in spatial trees have been developed. A key decision in the design of such algorithms is to choose a proper underlying data structure: our previous work utilizes quad-tree (oct-tree for 3D data) and, in this paper, we study a kd-tree-based solution. Although it is easy to see that both implementations have the same time complexity $Oleft(N {2d-1over d}ight)$, where d is the number of dimensions of the dataset, a thorough comparison of their actual running time under different scenarios is conducted. In particular, we present an analytical model to rigorously quantify the running time of dual-tree algorithms. Our analysis suggests that the kd-tree-based implementation outperforms the quad-/oct-tree solution under a wide range of data sizes and query parameters. Specifically, such performance advantage is shown as a speedup up to 1.23× over the quad-tree algorithm for 2D data, and 1.39× over the oct-tree for 3D data, respectively. Results of extensive experiments run on synthetic and real datasets confirm our findings.
机译:2体相关函数(2-BCF)是一组统计测量,这些测量结果在许多科学域中发现了应用。一种名为空间距离直方图(SDH)的一种类型的2-BCF在描述自然系统的物理特征方面是至关重要的。虽然计算SDH的天真方式需要四次时间,但已经开发了基于空间树中的解析节点的高效算法。这种算法设计的关键决策是选择一个适当的基础数据结构:我们以前的工作利用四棵树(OCT树进行3D数据),并且在本文中,我们研究了基于KD树的解决方案。虽然很容易看出,两种实现都有同时复杂性 $ o left(n { 2d-1 over d} 右)$ ,其中D是数据集的维度的数量,进行了在不同方案下实际运行时间的彻底比较。特别是,我们提出了一个分析模型来严格量化双树算法的运行时间。我们的分析表明,基于KD树的实现在广泛的数据大小和查询参数下占Quad-/ OCT树解决方案。具体地,这些性能优势在2D数据的四边形算法上显示为高达1.23倍的加速,分别在CONT树上进行了1.39×3D数据。在合成和实时数据集上进行广泛实验的结果证实了我们的研究结果。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号