Hostname: page-component-6766d58669-r8qmj Total loading time: 0 Render date: 2026-05-16T13:57:32.345Z Has data issue: false hasContentIssue false

D-FLAT: Declarative problem solving using tree decompositions and answer-set programming

Published online by Cambridge University Press:  05 September 2012

BERNHARD BLIEM
Affiliation:
Institute of Information Systems 184/2 Vienna University of Technology Favoritenstrasse 9–11, 1040 Vienna, Austria (e-mail: surname@dbai.tuwien.ac.at)
MICHAEL MORAK
Affiliation:
Institute of Information Systems 184/2 Vienna University of Technology Favoritenstrasse 9–11, 1040 Vienna, Austria (e-mail: surname@dbai.tuwien.ac.at)
STEFAN WOLTRAN
Affiliation:
Institute of Information Systems 184/2 Vienna University of Technology Favoritenstrasse 9–11, 1040 Vienna, Austria (e-mail: surname@dbai.tuwien.ac.at)

Abstract

In this work, we propose Answer-Set Programming (ASP) as a tool for rapid prototyping of dynamic programming algorithms based on tree decompositions. In fact, many such algorithms have been designed, but only a few of them found their way into implementation. The main obstacle is the lack of easy-to-use systems which (i) take care of building a tree decomposition and (ii) provide an interface for declarative specifications of dynamic programming algorithms. In this paper, we present D-FLAT, a novel tool that relieves the user of having to handle all the technical details concerned with parsing, tree decomposition, the handling of data structures, etc. Instead, it is only the dynamic programming algorithm itself which has to be specified in the ASP language. D-FLAT employs an ASP solver in order to compute the local solutions in the dynamic programming algorithm. In the paper, we give a few examples illustrating the use of D-FLAT and describe the main features of the system. Moreover, we report experiments which show that ASP-based D-FLAT encodings for some problems outperform monolithic ASP encodings on instances of small treewidth.

Information

Type
Regular Papers
Copyright
Copyright © Cambridge University Press 2012

Access options

Get access to the full version of this content by using one of the access options below. (Log in options will check for institutional or personal access. Content may require purchase if you do not have access.)

Article purchase

Temporarily unavailable