English

The Complexity of Weighted Counting for Acyclic Conjunctive Queries

Computational Complexity 2011-12-08 v2 Logic in Computer Science Logic

Abstract

This paper is a study of weighted counting of the solutions of acyclic conjunctive queries (\ACQ\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 \sP\sP-hard. We first show that weighted counting for quantifier-free \ACQ\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 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 of \ACQ\ACQ queries. Thus we completely determine the tractability frontier for weighted counting for \ACQ\ACQ.

Keywords

Cite

@article{arxiv.1110.4201,
  title  = {The Complexity of Weighted Counting for Acyclic Conjunctive Queries},
  author = {Arnaud Durand and Stefan Mengel},
  journal= {arXiv preprint arXiv:1110.4201},
  year   = {2011}
}

Comments

28 pages, 1 figure

R2 v1 2026-06-21T19:22:36.917Z