The complexity of weighted counting for acyclic conjunctive queries

  • Authors:
  • Arnaud Durand;Stefan Mengel

  • Affiliations:
  • Université Paris Diderot, Institut de Mathématiques de Jussieu, UMR 7586 CNRS, F-75205 Paris, France;Department of Mathematics, Technische Universität Berlin, D-10623 Berlin, Germany

  • Venue:
  • Journal of Computer and System Sciences
  • Year:
  • 2014

Quantified Score

Hi-index 0.00

Visualization

Abstract

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-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.