arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1404.7205cs.AIcs.LO
收藏

通用模块化逻辑程序

Generalizing Modular Logic Programs

CENTRIA - Centre for Artificial Intelligence(CENTRIA人工智能中心);Universidade Nova de Lisboa(里斯本新大学)

João Moura, Carlos Damásio

摘要:

尽管模块化在传统的逻辑编程中已经得到了广泛的研究,但关于如何将模块化纳入应答集编程(Answer Set Programming)的方法很少,应答集编程是一种基于规则的声明式编程范式。一个主要的方法是Oikarinnen和Janhunen的Gaifman-Shapiro风格的程序模块架构,它提供了程序模块的组成。他们的模定理适当地加强了Lifschitz和Turner的分裂集定理的正常逻辑程序。然而,这种方法受到模块条件的限制,这些条件是为了确保其模块系统与稳定模型语义的兼容性而施加的,即强制组成模块的输出签名不相交,并且不允许不同模块之间的正循环依赖。这些条件在实践中被证明是过于限制性的,在本文中,我们讨论的替代方法,解除这两个限制独立,有效地解决了第一个,扩大了这个框架的适用性和范围的模定理。

英文摘要:

Even though modularity has been studied extensively in conventional logic programming, there are few approaches on how to incorporate modularity into Answer Set Programming, a prominent rule-based declarative programming paradigm. A major approach is Oikarinnen and Janhunen's Gaifman-Shapiro-style architecture of program modules, which provides the composition of program modules. Their module theorem properly strengthens Lifschitz and Turner's splitting set theorem for normal logic programs. However, this approach is limited by module conditions that are imposed in order to ensure the compatibility of their module system with the stable model semantics, namely forcing output signatures of composing modules to be disjoint and disallowing positive cyclic dependencies between different modules. These conditions turn out to be too restrictive in practice and in this paper we discuss alternative ways of lift both restrictions independently, effectively solving the first, widening the applicability of this framework and the scope of the module theorem.

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

↑