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

带约束的DATALOG--一个答案集程序设计系统

DATALOG with constraints - an answer-set programming system

Deborah East, Miroslaw Truszczynski

摘要:

最近出现了一种可行的编程范例,它很好地适应了人工智能、约束满足和组合学中的搜索问题。可以说,命题逻辑是最简单的ASP系统,具有直观的语义,支持问题约束的直接建模。然而,对于某些应用程序,特别是那些需要计算传递闭包的应用程序,它需要额外的变量和大型理论的结果。因此,它可能不是一个实用的计算工具,这样的问题。另一方面,ASP系统基于非单调逻辑,如稳定的逻辑编程,可以有效地处理传递闭包计算,并在一般情况下,产生非常简洁的理论作为问题表示。然而,它们的语义更加复杂。寻找中间地带,本文介绍了一种新的非单调逻辑,DATALOG约束或DC。非正式地,DC理论包括命题子句(约束)和霍恩规则。语义是命题逻辑语义的简单而自然的扩展。然而,由于系统中存在Horn规则,传递闭包的建模变得简单。我们描述了DC的语法和语义,并研究了它的性质。我们讨论了DC的实施和目前的DC的有效性的实验研究结果,比较它与CSAT,可满足性检查和SMODELS实现稳定的逻辑编程。我们的研究结果表明,DC是有竞争力的其他两种方法,在许多搜索问题的情况下,往往会产生更有效的解决方案。

英文摘要:

Answer-set programming (ASP) has emerged recently as a viable programming paradigm well attuned to search problems in AI, constraint satisfaction and combinatorics. Propositional logic is, arguably, the simplest ASP system with an intuitive semantics supporting direct modeling of problem constraints. However, for some applications, especially those requiring that transitive closure be computed, it requires additional variables and results in large theories. Consequently, it may not be a practical computational tool for such problems. On the other hand, ASP systems based on nonmonotonic logics, such as stable logic programming, can handle transitive closure computation efficiently and, in general, yield very concise theories as problem representations. Their semantics is, however, more complex. Searching for the middle ground, in this paper we introduce a new nonmonotonic logic, DATALOG with constraints or DC. Informally, DC theories consist of propositional clauses (constraints) and of Horn rules. The semantics is a simple and natural extension of the semantics of the propositional logic. However, thanks to the presence of Horn rules in the system, modeling of transitive closure becomes straightforward. We describe the syntax and semantics of DC, and study its properties. We discuss an implementation of DC and present results of experimental study of the effectiveness of DC, comparing it with CSAT, a satisfiability checker and SMODELS implementation of stable logic programming. Our results show that DC is competitive with the other two approaches, in case of many search problems, often yielding much more efficient solutions.

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

↑