Hostname: page-component-76c49bb84f-rx8cm Total loading time: 0 Render date: 2025-07-08T17:02:49.607Z Has data issue: false hasContentIssue false

Computing stable models: worst-case performanceestimates

Published online by Cambridge University Press:  06 January 2004

ZBIGNIEW LONC
Affiliation:
Faculty of Mathematics and Information Science, Warsaw University of Technology, 00-661 Warsaw, Poland (e-mail: zblonc@alpha.mini.pw.edu.pl)
MIROSŁAW TRUSZCZYŃSKI
Affiliation:
Department of Computer Science, University of Kentucky, Lexington, KY 40506-0046, USA (e-mail: mirek@cs.uky.edu)

Abstract

We study algorithms for computing stable models of logic programs andderive estimates on their worst-case performance that areasymptotically better than the trivial bound of $O(m 2^n)$, where $m$ is the size of an input programand $n$ is the numberof its atoms. For instance, for programs whose clauses consist of atmost two literals (counting the head) we design an algorithm tocompute stable models that works in time $O(m\times 1.44225^n)$. We present similarresults for several broader classes of programs. Finally, we studythe applicability of the techniques developed in the paper to theanalysis of the performance of smodels.

Information

Type
Regular Papers
Copyright
© 2004 Cambridge University Press

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