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

并行算法的工作和跨度的概率递推关系

Probabilistic Recurrence Relations for Work and Span of Parallel Algorithms

Joseph Tassarotti

摘要:

在本文中,我们提出了一种方法来获得尾界的随机变量满足一定的概率递归出现在随机并行分治算法的分析。在这样的算法中,最初进行一些计算来处理输入x,然后将其随机地分成子问题$h_1(x), ..., h_n(x)$,并且算法在每个子问题上并行地递归进行。输入x上的总功W(x)则满足$W(x) = a(x) + \sum_{i=1}^n W (h_i(x))$形式的概率递归,而跨度(最长的顺序依赖链)满足$S(x) = b(x) + \max_{i=1}^n S(h_i(x))$,其中a(x)和b(x)是分解x并组合递归调用结果的功和跨度。Karp以前已经提出了在n = 1的情况下获得尾界的方法,并且在n > 1时对工作递归进行了某些更强的假设,但留下了跨度递归的问题。我们首先展示如何扩展他的技术来处理跨度递归。然后,我们表明,在某些情况下,工作复发可以有界的假设比卡普的转换成一个相关的跨度复发,并应用我们的第一个结果。我们证明了我们的结果,推导出尾界的工作和跨度的快速排序和高度的随机生成的二叉搜索树。

英文摘要:

In this paper we present a method for obtaining tail-bounds for random variables satisfying certain probabilistic recurrences that arise in the analysis of randomized parallel divide and conquer algorithms. In such algorithms, some computation is initially done to process an input x, which is then randomly split into subproblems $h_1(x), ..., h_n(x)$, and the algorithm proceeds recursively in parallel on each subproblem. The total work on input x, W(x), then satisfies a probabilistic recurrence of the form $W(x) = a(x) + \sum_{i=1}^n W (h_i(x))$, and the span (the longest chain of sequential dependencies), satisfies $S(x) = b(x) + \max_{i=1}^n S(h_i(x))$, where a(x) and b(x) are the work and span to split x and combine the results of the recursive calls. Karp has previously presented methods for obtaining tail-bounds in the case when n = 1, and under certain stronger assumptions for the work-recurrence when n > 1, but left open the question of the span-recurrence. We first show how to extend his technique to handle the span-recurrence. We then show that in some cases, the work-recurrence can be bounded under simpler assumptions than Karp's by transforming it into a related span-recurrence and applying our first result. We demonstrate our results by deriving tail bounds for the work and span of quicksort and the height of a randomly generated binary search tree.

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

↑