首页> 外文期刊>Theory and Practice of Logic Programming >Debugging Non-ground ASP Programs: Technique and Graphical Tools
【24h】

Debugging Non-ground ASP Programs: Technique and Graphical Tools

机译:调试非地面ASP程序:技术和图形工具

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

摘要

Answer set programming (ASP) is one of the major declarative programming paradigms in the area of logic programming and non-monotonic reasoning. Despite that ASP features a simple syntax and an intuitive semantics, errors are common during the development of ASP programs. In this paper we propose a novel debugging approach allowing for interactive localization of bugs in non-ground programs. The new approach points the user directly to a set of non-ground rules involved in the bug, which might be refined (up to the point in which the bug is easily identified) by asking the programmer a sequence of questions on an expected answer set. The approach has been implemented on top of the ASP solver WASP. The resulting debugger has been complemented by a user-friendly graphical interface, and integrated in ASPI DE, a rich integrated development environment (IDE) for answer set programs. In addition, an empirical analysis shows that the new debugger is not affected by the grounding blowup limiting the application of previous approaches based on meta-programming.
机译:答案集编程(ASP)是逻辑编程和非单调推理领域中主要的声明性编程范例之一。尽管ASP具有简单的语法和直观的语义,但是在ASP程序的开发过程中仍然经常出现错误。在本文中,我们提出了一种新颖的调试方法,该方法允许对非基础程序中的错误进行交互式本地化。新方法将用户直接指向错误中涉及的一组非基本规则,可以通过向程序员询问预期答案集上的一系列问题来完善这些规则(直至容易识别错误) 。该方法已在ASP求解器WASP之上实现。最终的调试器得到了用户友好的图形界面的补充,并集成在ASPI DE中,ASPI DE是用于答案集程序的丰富集成开发环境(IDE)。此外,经验分析表明,新的调试器不受接地爆炸的影响,从而限制了基于元编程的先前方法的应用。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号