Article ID Journal Published Year Pages File Type
430031 Journal of Computer and System Sciences 2014 20 Pages PDF
Abstract

•We study weighted counting of solutions of acyclic conjunctive queries.•We chart the tractability frontier for this problem.•A parameter, called quantified star size, that measures how projected variables are spread in the query.•Having bounded quantified star size exactly characterizes tractability for this problem.

This paper is a study of weighted counting of the solutions of acyclic conjunctive queries (ACQ). The unweighted quantifier free version of this problem is known to be tractable (for combined complexity), but it is also known that introducing even a single quantified variable makes it #P#P-hard. We first show that weighted counting for quantifier free ACQ is still tractable and that even minimalistic extensions of the problem lead to hard cases. We then introduce a new parameter for quantified queries that permits to isolate a large island of tractability. We show that, up to a standard assumption from parameterized complexity, this parameter fully characterizes tractable subclasses for counting weighted solutions for ACQs. Thus we completely determine the tractability frontier for weighted counting for ACQ.

Related Topics
Physical Sciences and Engineering Computer Science Computational Theory and Mathematics
Authors
, ,