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

计算潜在问题的答案

Counting Answers to Existential Questions

Holger Dell, Marc Roth, Philip Wellnitz

摘要:

连接查询从关系数据库中选择并返回某些元组。我们研究了可能更容易的问题,计数所有选定的元组,而不是枚举它们。特别是,我们感兴趣的问题的参数化和数据的复杂性,查询被认为是小的或固定的,数据库被认为是大的。我们确定了两个结构参数的合取查询,捕捉其固有的复杂性:占主导地位的星大小和链接匹配数。如果一个合取查询的支配星大小很大,那么我们证明了对查询的解元组计数至少和对支配集计数一样困难,这在强指数时间假设下产生了一个细粒度的复杂度下界以及一个#W[2]-硬度结果。此外,如果一个合取查询的链接匹配数是大的,那么我们表明,查询的结构是如此丰富,任意查询到一定的大小可以编码到它;这基本上建立了#A[2]-完备性。使用Lovász的思想,我们将复杂性结果从合取查询类提升到任意存在或通用公式,这些公式可能包含对自由变量的约束的不等式和否定。因此,我们获得了一个复杂性分类,该分类概括了Chen,Durand和Mengel(ToCS 2015; ICDT 2015; PODS 2016)针对合取查询以及Curticapean和Marx(FOCS 2014)针对子图计数问题的先前结果。我们的证明也依赖于图的未成年人,我们显示了一个加强的排除网格定理,这可能是独立的利益:如果链接匹配数是大的,那么我们不仅可以找到一个大的网格在图中的某个地方,但我们可以找到一个大的网格,其对角线有不相交的路径导致一个假设的节点良好的链接集。

英文摘要:

Conjunctive queries select and are expected to return certain tuples from a relational database. We study the potentially easier problem of counting all selected tuples, rather than enumerating them. In particular, we are interested in the problem's parameterized and data complexity, where the query is considered to be small or fixed, and the database is considered to be large. We identify two structural parameters for conjunctive queries that capture their inherent complexity: The dominating star size and the linked matching number. If the dominating star size of a conjunctive query is large, then we show that counting solution tuples to the query is at least as hard as counting dominating sets, which yields a fine-grained complexity lower bound under the Strong Exponential Time Hypothesis as well as a #W[2]-hardness result. Moreover, if the linked matching number of a conjunctive query is large, then we show that the structure of the query is so rich that arbitrary queries up to a certain size can be encoded into it; this essentially establishes #A[2]-completeness. Using ideas stemming from Lovász, we lift complexity results from the class of conjunctive queries to arbitrary existential or universal formulas that might contain inequalities and negations on constraints over the free variables. As a consequence, we obtain a complexity classification that generalizes previous results of Chen, Durand, and Mengel (ToCS 2015; ICDT 2015; PODS 2016) for conjunctive queries and of Curticapean and Marx (FOCS 2014) for the subgraph counting problem. Our proof also relies on graph minors, and we show a strengthening of the Excluded-Grid-Theorem which might be of independent interest: If the linked matching number is large, then not only can we find a large grid somewhere in the graph, but we can find a large grid whose diagonal has disjoint paths leading into an assumed node-well-linked set.

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

↑