少花钱多办事--高速缓存感知并行压缩层次预处理
Doing More for Less -- Cache-Aware Parallel Contraction Hierarchies Preprocessing
摘要:
收缩层次是Dijkstra开创性的最短路径算法的一种成功的加速技术,它在预处理和查询时间之间有一个方便的权衡。我们研究了一个共享内存并行实现,它使用$O(n+m)$空间存储图形和O(1)空间为每个核心在预处理。因此,所提出的数据结构和算法利用缓存的局部性,从而表现出竞争力的预处理时间。该方法特别适用于行星尺度图形的预处理。此外,我们的实验表明,在PRAM模型中的最佳数据结构,可以在实践中击败利用内存缓存层次结构。
英文摘要:
Contraction Hierarchies is a successful speedup-technique to Dijkstra's seminal shortest path algorithm that has a convenient trade-off between preprocessing and query times. We investigate a shared-memory parallel implementation that uses $O(n+m)$ space for storing the graph and O(1) space for each core during preprocessing. The presented data structures and algorithms consequently exploits cache locality and thus exhibit competitive preprocessing times. The presented implementation is especially suitable for preprocessing graphs of planet-wide scale in practice. Also, our experiments show that optimal data structures in the PRAM model can be beaten in practice by exploiting memory cache hierarchies.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。