arXivDaily arXiv每日学术速递 周一至周五更新
arXiv cs/0203005cs.AI
收藏

逻辑程序中参数编译框架

A Framework for Compiling Preferences in Logic Programs

J. P. Delgrande, T. Schaub, H. Tompits

摘要:

我们介绍了一种方法和框架下的回答集语义表示一般偏好信息的逻辑编程。有序逻辑程序是一种扩展的逻辑程序,其中规则由唯一的术语命名,并且其中规则之间的偏好由形式s < t的一组原子给出,其中s和t是名称。一个有序的逻辑程序被转换成第二个规则的扩展逻辑程序,其中优先权被考虑,因为在转换后的程序中获得的答案集对应于原始程序的优先答案集。我们的方法允许规范的动态排序,其中偏好可以出现在一个程序中任意。静态排序(其中首选项在逻辑程序外部)是一般动态情况的一个微不足道的限制。首先,我们开发了一种特定的方法来推理的偏好,其中的偏好排序指定的规则被应用的顺序。然后,我们展示了我们的框架的广泛的适用性,通过展示如何其他方法,其中包括Brewka和Eiter,可以在我们的框架内捕获。由于这些转换的结果都是一个扩展的逻辑程序,我们可以利用现有的实现,如dlv和models。为此,我们已经开发了一个公开可用的编译器作为这些编程系统的前端。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑