Abstract
We study algorithms for computing stable models of logic programs and derive estimates on their worst-case performance that are asymptotically better than the trivial bound of O(m2n), where m is the size of an input program and n is the number of its atoms. For instance, for programs whose clauses consist of at most two literals (counting the head) we design an algorithm to compute stable models that works in time O(m × 1.44225 n). We present similar results for several broader classes of programs. Finally, we study the applicability of the techniques developed in the paper to the analysis of the performance of smodels.
Original language | English |
---|---|
Pages (from-to) | 193-231 |
Number of pages | 39 |
Journal | Theory and Practice of Logic Programming |
Volume | 4 |
Issue number | 1-2 |
DOIs | |
State | Published - 2004 |
Keywords
- Computing stable models
- Logic programs
- Stable models
- Worst-case bounds
ASJC Scopus subject areas
- Software
- Theoretical Computer Science
- Hardware and Architecture
- Computational Theory and Mathematics
- Artificial Intelligence