首页> 外文期刊>Theory and Practice of Logic Programming >Towards automated integration of guess and check programs in answer set programming: a meta-interpreter and applications
【24h】

Towards automated integration of guess and check programs in answer set programming: a meta-interpreter and applications

机译:致力于将答案和检查程序自动集成到答案集编程中:元解释器和应用程序

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

摘要

Answer set programming (ASP) with disjunction offers a powerful tool for declaratively representing and solving hard problems. Many NP-complete problems can be encoded in the answer set semantics of logic programs in a very concise and intuitive way, where the encoding reflects the typical "guess and check" nature of NP problems: The property is encoded in a way such that polynomial size certificates for it correspond to stable models of a program. However, the problem-solving capacity of full disjunctive logic programs (DLPs) is beyond NP, and captures a class of problems at the second level of the polynomial hierarchy. While these problems also have a clear "guess and check" structure, finding an encoding in a DLP reflecting this structure may sometimes be a non-obvious task, in particular if the "check" itself is a co-NP-complete problem; usually, such problems are solved by interleaving separate guess and check programs, where the check is expressed by inconsistency of the check program. In this paper, we present general transformations of head-cycle free (extended) disjunctive logic programs into stratified and positive (extended) disjunctive logic programs based on meta-interpretation techniques. The answer sets of the original and the transformed program are in simple correspondence, and, moreover, inconsistency of the original program is indicated by a designated answer set of the transformed program. Our transformations facilitate the integration of separate "guess" and "check" programs, which are often easy to obtain, automatically into a single disjunctive logic program. Our results complement recent results on meta-interpretation in ASP, and extend methods and techniques for a declarative "guess and check" problem solving paradigm through ASP.
机译:分离式答案集编程(ASP)提供了一个功能强大的工具,用于声明性地表示和解决难题。可以以非常简洁和直观的方式在逻辑程序的答案集中语义中编码许多NP完全问题,其中编码反映了NP问题的典型“猜测和检查”性质:该属性以多项式的方式进行编码它的大小证书对应于程序的稳定模型。但是,完全析取逻辑程序(DLP)的问题解决能力超出了NP,并且在多项式层次结构的第二层捕获了一类问题。尽管这些问题也具有清晰的“猜测和检查”结构,但是在DLP中找到反映这种结构的编码有时可能不是一件容易的事,特别是如果“检查”本身是一个完整的NP问题。通常,这种问题是通过交错单独的猜测和检查程序来解决的,其中检查是由检查程序的不一致表示的。在本文中,我们介绍了基于元解释技术将头周期自由(扩展)析取逻辑程序转换为分层和正(扩展)析取逻辑程序的一般转换。原始节目和变换后的节目的答案集具有简单的对应关系,此外,原始节目的不一致由变换后的节目的指定答案集表示。我们的转换有助于将通常容易获得的单独“猜测”和“检查”程序自动集成到单个逻辑逻辑程序中。我们的结果补充了有关ASP中元解释的最新结果,并扩展了通过ASP进行声明式“猜测和检查”问题解决范例的方法和技术。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号