首页> 外文会议>Workshop on Algorithm Engineering and Experiments >Parallel Range, Segment and Rectangle Queries with Augmented Maps
【24h】

Parallel Range, Segment and Rectangle Queries with Augmented Maps

机译:具有增强地图的并行范围,段和矩形查询

获取原文

摘要

The support of range, segment and rectangle queries are fundamental problems in computational geometry, and have extensive applications in many domains. Despite significant theoretical work on these problems, efficient implementations can be complicated, and most implementations do not have useful theoretical bounds. In this paper, we focus on simple and efficient parallel algorithms and implementations for range, segment and rectangle queries, which have worst-case bounds in theory and good performance in practice, both sequentially and in parallel. We propose to use a framework based on the abstract data type augmented map, to model the problems. Based on the augmented map interface, we develop both multi-level tree structures and sweepline algorithms supporting range, segment and rectangle queries in two dimensions. For the sweepline algorithms, we also propose a parallel paradigm and show corresponding cost bounds. Theoretically, the construction algorithms of all of our data structures are work-efficient and highly parallelized. We have implemented all the data structures described in the paper, ten in all, using a parallel augmented map library. Based on the library, each data structure only requires about 100 lines of C++ code. We test their performance on large data sets (up to 10~8 elements) and a machine with 72-cores (144 hyperthreads). The parallel construction achieves 32-68x speedup, and the speedup numbers for queries are up to 126-fold. Sequentially, each of our implementations outperforms the CGAL library by at least 2x in both construction and queries. Our sequential implementation has approximately the same construction time as the R-tree in the Boost library, but has significantly better query performance (1.6-1200x). We believe this paper provides the most comprehensive experimental study of data structures on range, segment and rectangle queries, both in parallel and sequential setting.
机译:范围,段和矩形查询的支持是计算几何中的基本问题,并且在许多域中具有广泛的应用。尽管对这些问题进行了重大理论上的工作,但有效的实现可能是复杂的,并且大多数实现没有有用的理论界。在本文中,我们专注于统计,段和矩形查询的简单有效的并行算法和实现,这些算法在理论上具有最坏的情况,并且在实践中具有良好的性能,两者在顺序和并行。我们建议使用基于抽象数据类型增强地图的框架来模拟问题。基于增强地图界面,我们在两个维度中开发多级树结构和SweEpline算法支持范围,段和矩形查询。对于SWEEPLINE算法,我们还提出了一个平行的范式并显示相应的成本范围。从理论上讲,我们所有数据结构的构造算法都是工作有效且高度平行化的。我们使用并行增强的地图库实现了纸张中描述的所有数据结构,10个。基于库,每个数据结构只需要大约100行的C ++代码。我们在大型数据集(最多10〜8个元素)和带72核的机器上测试它们的性能(144长度)。并行结构达到32-68倍的加速度,查询的加速号可达126倍。顺序地,我们的每个实现在构造和查询中至少2倍优于CGAL库。我们的顺序实现具有大致相同的施工时间作为升压库中的R树,但具有明显更好的查询性能(1.6-1200x)。我们认为本文在并行和顺序设置中提供了对范围,段和矩形查询的数据结构的最全面的实验研究。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号