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

ASP程序的交互式编译

Interactive Debugging of ASP Programs

University Klagenfurt(克拉根福大学)

Kostyantyn Shchekotykhin

摘要:

答案集编程(ASP)的广泛应用,说明性问题的解决需要开发工具,支持编码过程。程序调试是这个过程中的关键活动之一。最近建议的ASP调试方法允许有效计算故障的可能解释。然而,即使对于一个小程序,调试器也可能返回大量可能的解释,并且必须手动选择正确的解释。在本文中,我们提出了一种基于交互式查询的ASP调试方法,扩展了以前的方法,并通过观察找到了一个较好的解释。系统询问程序员一组基础原子是否必须在程序的所有(谨慎地)或一些(勇敢地)回答集合中为真。由于一些查询可以比其他人更翔实,我们讨论的查询选择策略,用户的偏好的解释,可以找到最好的查询。也就是说,其答案的查询减少了识别优选解释所需的查询的总数。

英文摘要:

Broad application of answer set programming (ASP) for declarative problem solving requires the development of tools supporting the coding process. Program debugging is one of the crucial activities within this process. Recently suggested ASP debugging approaches allow efficient computation of possible explanations of a fault. However, even for a small program a debugger might return a large number of possible explanations and selection of the correct one must be done manually. In this paper we present an interactive query-based ASP debugging method which extends previous approaches and finds a preferred explanation by means of observations. The system queries a programmer whether a set of ground atoms must be true in all (cautiously) or some (bravely) answer sets of the program. Since some queries can be more informative than the others, we discuss query selection strategies which, given user's preferences for an explanation, can find the best query. That is, the query an answer of which reduces the overall number of queries required for the identification of a preferred explanation.

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

↑