...
首页> 外文期刊>Artificial intelligence >Semantics and complexity of recursive aggregates in answer set programming
【24h】

Semantics and complexity of recursive aggregates in answer set programming

机译:答案集编程中递归聚合的语义和复杂性

获取原文
获取原文并翻译 | 示例
           

摘要

The addition of aggregates has been one of the most relevant enhancements to the language of answer set programming (ASP). They strengthen the modelling power of ASP in terms of natural and concise problem representations. Previous semantic definitions typically agree in the case of non-recursive aggregates, but the picture is less clear for aggregates involved in recursion. Some proposals explicitly avoid recursive aggregates, most others differ, and many of them do not satisfy desirable criteria, such as minimality or coincidence with answer sets in the aggregate-free case. In this paper we define a semantics for programs with arbitrary aggregates (including monotone, antimonotone, and nonmonotone aggregates) in the full ASP language allowing also for disjunction in the head (disjunctive logic programming - DLP). This semantics is a genuine generalization of the answer set semantics for DLP, it is defined by a natural variant of the Gelfond-Lifschitz transformation, and treats aggregate and non-aggregate literals in a uniform way. This novel transformation is interesting per se also in the aggregate-free case, since it is simpler than the original transformation and does not need to differentiate between positive and negative literals. We prove that our semantics guarantees the minimality (and therefore the incomparability) of answer sets, and we demonstrate that it coincides with the standard answer set semantics on aggregate-free programs. Moreover, we carry out an in-depth study of the computational complexity of the language. The analysis pays particular attention to the impact of syntactical restrictions on programs in the form of limited use of aggregates, disjunction, and negation. While the addition of aggregates does not affect the complexity of the full DLP language, it turns out that their presence does increase the complexity of normal (i.e., non-disjunctive) ASP programs up to the second level of the polynomial hierarchy. However, we show that there are large classes of aggregates the addition of which does not cause any complexity gap even for normal programs, including the fragment allowing for arbitrary monotone, arbitrary antimonotone, and stratified (i.e., non-recursive) nonmonotone aggregates. The analysis provides some useful indications on the possibility to implement aggregates in existing reasoning engines.
机译:聚合的添加已成为答案集编程(ASP)语言最相关的增强功能之一。它们以自然和简洁的问题表示形式增强了ASP的建模能力。以前的语义定义通常在非递归聚合的情况下是一致的,但是对于涉及递归的聚合而言,情况不太清楚。一些建议明确地避免了递归聚合,其他大多数建议则有所不同,其中许多不满足合乎要求的标准,例如在无聚合情况下的最小值或与答案集的重合。在本文中,我们为全ASP语言中具有任意聚合(包括单调,反单调和非单调聚合)的程序定义了一种语义,同时也允许在头部进行分离(分离逻辑编程-DLP)。此语义是DLP答案集语义的真正概括,它由Gelfond-Lifschitz转换的自然变体定义,并以统一的方式处理聚合和非聚合文字。这种新颖的转换本身在无聚合的情况下也很有趣,因为它比原始转换更简单,并且不需要区分正负字面量。我们证明了我们的语义保证了答案集的最小性(因此也具有不可比性),并且我们证明了它与无聚合程序上的标准答案集语义相吻合。此外,我们对语言的计算复杂性进行了深入研究。分析特别注意语法限制对程序的影响,其形式为限制使用聚合,析取和否定。虽然添加聚合不会影响整个DLP语言的复杂性,但事实证明,聚合的存在确实会增加正常(即非析取的)ASP程序的复杂度,直至达到多项式层次结构的第二级。但是,我们显示出存在大类的聚合,即使对于普通程序,它们的添加也不会引起任何复杂性差距,包括允许任意单调,任意反单调和分层(即非递归)非单调聚合的片段。该分析为在现有推理引擎中实现汇总的可能性提供了一些有用的指示。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号