arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1202.3205cs.DScs.DC
收藏

贪婪序列极大独立集与匹配平均平行

Greedy Sequential Maximal Independent Set and Matching are Parallel on Average

Guy Blelloch, Jeremy Fineman, Julian Shun

摘要:

最大独立集(MIS)的贪婪顺序算法以任意顺序遍历顶点,当且仅当没有前一个相邻顶点被添加到结果集中时,将顶点添加到结果集中。在这个循环中,和许多顺序循环一样,每个顶点只直接依赖于先前迭代的子集(即知道任何一个顶点邻居在MIS中,或者知道它没有先前的邻居就足以决定它的命运)。这导致迭代之间的依赖结构。如果这个结构是浅的,那么并行地运行迭代同时尊重依赖性可以导致模仿顺序算法的高效并行实现。在本文中,我们证明了任何图,并为一个随机的顶点排序,顺序贪婪MIS算法的依赖深度是多对数(O(log^2 n)的概率很高)。我们的结果扩展了以前的结果,显示多对数边界的随机图。我们显示了类似的结果,贪婪的最大匹配(MM)。对于这两个问题,我们描述了简单的线性工作并行算法的基础上的方法。这些算法允许在更多的并行性和减少的工作之间进行平滑的权衡,但总是返回与顺序贪心算法相同的结果。我们目前的实验结果表明,效率和工作和并行性之间的权衡。

英文摘要:

The greedy sequential algorithm for maximal independent set (MIS) loops over the vertices in arbitrary order adding a vertex to the resulting set if and only if no previous neighboring vertex has been added. In this loop, as in many sequential loops, each iterate will only depend directly on a subset of the previous iterates (i.e. knowing that any one of a vertices neighbors is in the MIS or knowing that it has no previous neighbors is sufficient to decide its fate). This leads to a dependence structure among the iterates. If this structure is shallow then running the iterates in parallel while respecting the dependencies can lead to an efficient parallel implementation mimicking the sequential algorithm. In this paper, we show that for any graph, and for a random ordering of the vertices, the dependence depth of the sequential greedy MIS algorithm is polylogarithmic (O(log^2 n) with high probability). Our results extend previous results that show polylogarithmic bounds only for random graphs. We show similar results for a greedy maximal matching (MM). For both problems we describe simple linear work parallel algorithms based on the approach. The algorithms allow for a smooth tradeoff between more parallelism and reduced work, but always return the same result as the sequential greedy algorithms. We present experimental results that demonstrate efficiency and the tradeoff between work and parallelism.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑