• Medientyp: E-Artikel
  • Titel: A framework for compiling preferences in logic programs
  • Beteiligte: DELGRANDE, JAMES P.; SCHAUB, TORSTEN; TOMPITS, HANS
  • Erschienen: Cambridge University Press (CUP), 2003
  • Erschienen in: Theory and Practice of Logic Programming
  • Sprache: Englisch
  • DOI: 10.1017/s1471068402001539
  • ISSN: 1471-0684; 1475-3081
  • Schlagwörter: Artificial Intelligence ; Computational Theory and Mathematics ; Hardware and Architecture ; Theoretical Computer Science ; Software
  • Entstehung:
  • Anmerkungen:
  • Beschreibung: <jats:p>We introduce a methodology and framework for expressing general preference information in logic programming under the answer set semantics. An <jats:italic>ordered</jats:italic> logic program is an extended logic program in which rules are named by unique terms, and in which preferences among rules are given by a set of atoms of form <jats:italic>s</jats:italic> [pr ] <jats:italic>t</jats:italic> where <jats:italic>s</jats:italic> and <jats:italic>t</jats:italic> are names. An ordered logic program is transformed into a second, regular, extended logic program wherein the preferences are respected, in that the answer sets obtained in the transformed program correspond with the preferred answer sets of the original program. Our approach allows the specification of <jats:italic>dynamic</jats:italic> orderings, in which preferences can appear arbitrarily within a program. <jats:italic>Static</jats:italic> orderings (in which preferences are external to a logic program) are a trivial restriction of the general dynamic case. First, we develop a specific approach to reasoning with preferences, wherein the preference ordering specifies the order in which rules are to be applied. We then demonstrate the wide range of applicability of our framework by showing how other approaches, among them that of Brewka and Eiter, can be captured within our framework. Since the result of each of these transformations is an extended logic program, we can make use of existing implementations, such as <jats:styled-content style="e6">dlv</jats:styled-content> and <jats:styled-content style="e6">smodels</jats:styled-content>. To this end, we have developed a publicly available compiler as a front-end for these programming systems.</jats:p>