A framework for compiling preferences in logic programs

被引:79
|
作者
Delgrande, JP [1 ]
Schaub, T
Tompits, H
机构
[1] Simon Fraser Univ, Sch Comp Sci, Burnaby, BC V5A 1S6, Canada
[2] Univ Potsdam, Inst Informat, D-14439 Potsdam, Germany
[3] Vienna Univ Technol, Inst Informat Syst 184 3, A-1040 Vienna, Austria
关键词
answer sets semantics; preference; compilation;
D O I
10.1017/S1471068402001539
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
We introduce a methodology and framework for expressing general preference information in logic programming under the answer set semantics. An ordered 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 s < t where s and t 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 dynamic orderings, in which preferences can appear arbitrarily within a program. Static 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 dlv and smodels. To this end, we have developed a publicly available compiler as a front-end for these programming systems.
引用
收藏
页码:129 / 187
页数:59
相关论文
共 50 条
  • [1] COMPILING ASSOCIATIVITY INTO LOGIC PROGRAMS
    BROUGH, DR
    HOGGER, CJ
    JOURNAL OF LOGIC PROGRAMMING, 1987, 4 (04): : 345 - 359
  • [2] COMPILING LOGIC PROGRAMS WITH EQUALITY
    HANUS, M
    LECTURE NOTES IN COMPUTER SCIENCE, 1990, 456 : 387 - 401
  • [3] Compiling reasoning with and about preferences into default logic
    Delgrande, JP
    Schaub, TH
    IJCAI-97 - PROCEEDINGS OF THE FIFTEENTH INTERNATIONAL JOINT CONFERENCE ON ARTIFICIAL INTELLIGENCE, VOLS 1 AND 2, 1997, : 168 - 174
  • [4] Inferring and compiling termination for constraint logic programs
    Hoarau, S
    Mesnard, F
    LOGIC-BASED PROGRAM SYNTHESIS AND TRANSFORMATION, 1999, 1559 : 240 - 254
  • [5] Tycho: A Framework for Compiling Stream Programs
    Cedersjo, Gustav
    Janneck, Jorn W.
    ACM TRANSACTIONS ON EMBEDDED COMPUTING SYSTEMS, 2020, 18 (06)
  • [6] Compiling prioritized circumscription into Extended Logic Programs
    Wakaki, T
    Satoh, K
    IJCAI-97 - PROCEEDINGS OF THE FIFTEENTH INTERNATIONAL JOINT CONFERENCE ON ARTIFICIAL INTELLIGENCE, VOLS 1 AND 2, 1997, : 182 - 187
  • [7] Compiling approach for exploiting AND-parallelism in logic programs
    Hwang, Zhiyi
    Hu, Shouren
    Future Generation Computer Systems, 1990, 6 (01) : 35 - 41
  • [8] COMPILING DATA-FLOW ANALYSIS OF LOGIC PROGRAMS
    TAN, JC
    LIN, IP
    SIGPLAN NOTICES, 1992, 27 (07): : 106 - 115
  • [9] Compiling defeasible inheritance networks to general logic programs
    You, JH
    Wang, XC
    Yuan, LY
    ARTIFICIAL INTELLIGENCE, 1999, 113 (1-2) : 247 - 268
  • [10] Logic programs with compiled preferences
    Delgrande, JP
    Schaub, T
    Tompits, M
    ECAI 2000: 14TH EUROPEAN CONFERENCE ON ARTIFICIAL INTELLIGENCE, PROCEEDINGS, 2000, 54 : 464 - 468