The Euler tour technique is a classical tool for designing parallel graph algorithms, originally proposed for the PRAM model. We ask whether it can be adapted to run efficiently on GPU. We focus on two established applications of the technique: (1) the problem of finding lowest common ancestors (LCA) of pairs of nodes in trees, and (2) the problem of finding bridges in undirected graphs. In our experiments, we compare theoretically optimal algorithms using the Euler tour technique against simpler heuristics supposed to perform particularly well on typical instances. We show that the Euler tour-based algorithms not only fulfill their theoretical promises and outperform practical heuristics on hard instances, but also perform on par with them on easy instances.
翻译:尤勒旅游技术是设计平行图表算法的经典工具,最初是为PRAM模型推荐的。我们询问它能否适应高效运行于GPU。我们侧重于该技术的两个既定应用:(1)在树上找到最低共同祖先(LCA)和(2)在无方向图中找到桥梁的问题。在我们的实验中,我们比较了使用尤勒旅游技术的理论上的最佳算法和在典型情况下被认为表现特别好的较简单的超值算法。我们显示,以尤勒旅游为基础的算法不仅履行了理论承诺,在困难的事例上超越了实际的超值,而且在容易的例子上也与它们一样。