A framework for compiling preferences in logic programs

被引:80
作者
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
相关论文
共 46 条
[1]  
BAADER F, 1993, IJCAI-93, VOLS 1 AND 2, P669
[2]  
BENFERHAT S, 1993, IJCAI-93, VOLS 1 AND 2, P640
[3]  
BESNARD P, 2002, P 9 INT WORKSH NONM, P77
[4]   Preferred answer sets for extended logic programs [J].
Brewka, G ;
Eiter, T .
ARTIFICIAL INTELLIGENCE, 1999, 109 (1-2) :297-356
[5]   Well-founded semantics for extended logic programs with dynamic preferences [J].
Brewka, G .
JOURNAL OF ARTIFICIAL INTELLIGENCE RESEARCH, 1996, 4 :19-36
[6]  
Brewka G., 1989, IJCAI-89 Proceedings of the Eleventh International Joint Conference on Artificial Intelligence, P1043
[7]  
Brewka G., 1994, Logics in Artificial Intelligence. European Workshop JELIA '94. Proceedings, P247, DOI 10.1007/BFb0021977
[8]  
BREWKA G, 1998, P 6 INT C PRINC KNOW, P86
[9]  
BREWKA G, 2000, INTELLECTICS COMPUTA, P27
[10]  
DELGRANDE J, 2001, LNCS, V2173, P411