arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1302.0914cs.DB
收藏

与Minesweeper连接的超越最坏情况分析

Beyond Worst-Case Analysis for Joins with Minesweeper

Hung Q. Ngo, Dung T. Nguyen, Christopher Ré, Atri Rudra

摘要:

我们描述了一种新的算法,扫雷,能够满足更强的运行时保证比以前的连接算法(通俗地说,“超越最坏情况下的搜索树”)的数据索引搜索树。我们的第一个贡献是开发一个框架来衡量这个更强的复杂性概念,我们称之为{ \it证书复杂性},它扩展了Barbay等人和Demaine等人的概念;证书是证明输出正确的一组命题公式。这个概念捕获了连接算法的一个自然类别。此外,证书允许我们定义一个比传统的最坏情况保证更严格的运行时复杂性概念。我们的第二个贡献是为基于证书的复杂性概念开发了一个二分法定理。粗略地说,我们表明扫雷评估$β$ -非循环查询的时间线性的证书加上输出大小,而对于任何$β$ -循环查询有一些实例,需要超线性的时间在证书(和输出不大于证书的大小)。我们还扩展了我们的证书复杂性分析查询有界树宽和三角查询。

英文摘要:

We describe a new algorithm, Minesweeper, that is able to satisfy stronger runtime guarantees than previous join algorithms (colloquially, `beyond worst-case guarantees') for data in indexed search trees. Our first contribution is developing a framework to measure this stronger notion of complexity, which we call {\it certificate complexity}, that extends notions of Barbay et al. and Demaine et al.; a certificate is a set of propositional formulae that certifies that the output is correct. This notion captures a natural class of join algorithms. In addition, the certificate allows us to define a strictly stronger notion of runtime complexity than traditional worst-case guarantees. Our second contribution is to develop a dichotomy theorem for the certificate-based notion of complexity. Roughly, we show that Minesweeper evaluates $β$-acyclic queries in time linear in the certificate plus the output size, while for any $β$-cyclic query there is some instance that takes superlinear time in the certificate (and for which the output is no larger than the certificate size). We also extend our certificate-complexity analysis to queries with bounded treewidth and the triangle query.

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

↑