Exploiting Database Management Systems and Treewidth for Counting. Issue 1 (12th January 2022)
- Record Type:
- Journal Article
- Title:
- Exploiting Database Management Systems and Treewidth for Counting. Issue 1 (12th January 2022)
- Main Title:
- Exploiting Database Management Systems and Treewidth for Counting
- Authors:
- FICHTE, JOHANNES K.
HECHER, MARKUS
THIER, PATRICK
WOLTRAN, STEFAN - Abstract:
- Abstract: Bounded treewidth is one of the most cited combinatorial invariants in the literature. It was also applied for solving several counting problems efficiently. A canonical counting problem is #Sat, which asks to count the satisfying assignments of a Boolean formula. Recent work shows that benchmarking instances for #Sat often have reasonably small treewidth. This paper deals with counting problems for instances of small treewidth. We introduce a general framework to solve counting questions based on state-of-the-art database management systems (DBMSs). Our framework takes explicitly advantage of small treewidth by solving instances using dynamic programming (DP) on tree decompositions (TD). Therefore, we implement the concept of DP into a DBMS (PostgreSQL), since DP algorithms are already often given in terms of table manipulations in theory. This allows for elegant specifications of DP algorithms and the use of SQL to manipulate records and tables, which gives us a natural approach to bring DP algorithms into practice. To the best of our knowledge, we present the first approach to employ a DBMS for algorithms on TDs. A key advantage of our approach is that DBMSs naturally allow for dealing with huge tables with a limited amount of main memory (RAM).
- Is Part Of:
- Theory and practice of logic programming. Volume 22:Issue 1(2022)
- Journal:
- Theory and practice of logic programming
- Issue:
- Volume 22:Issue 1(2022)
- Issue Display:
- Volume 22, Issue 1 (2022)
- Year:
- 2022
- Volume:
- 22
- Issue:
- 1
- Issue Sort Value:
- 2022-0022-0001-0000
- Page Start:
- 128
- Page End:
- 157
- Publication Date:
- 2022-01-12
- Subjects:
- dynamic programming -- parameterized algorithmics -- bounded treewidth -- database systems -- SQL -- relational algebra -- counting
Logic programming -- Periodicals
Artificial intelligence -- Computer programs -- Periodicals
Constraint programming (Computer science) -- Periodicals
005.115 - Journal URLs:
- https://www.cambridge.org/core/journals/theory-and-practice-of-logic-programming ↗
- DOI:
- 10.1017/S147106842100003X ↗
- Languages:
- English
- ISSNs:
- 1471-0684
- Deposit Type:
- Legaldeposit
- View Content:
- Available online (eLD content is only available in our Reading Rooms) ↗
- Physical Locations:
- British Library HMNTS - ELD Digital store
- Ingest File:
- 21755.xml