arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 1011.4377cs.LO
收藏

超一致答案集程序的动态幻集

Dynamic Magic Sets for Super-Consistent Answer Set Programs

Mario Alviano, Wolfgang Faber

摘要:

在ASP的许多实际应用中,如数据集成、规划等,查询响应是非常重要的,因此ASP的查询优化技术是人们非常感兴趣的。魔术集是这些技术中的一种,最初是为Datasheet查询(没有析取和否定的ASP)定义的。动态魔术集(DMS)是这种技术的一个扩展,它已被证明是健全的和完整的查询回答ASP程序与分层否定。DMS的一个显着特点是,在ASP引擎的不确定性阶段也可以利用优化。特别是,在计算过程中做出一些假设之后,程序的某些部分可能会变得与这些假设下的查询无关。这允许搜索空间的动态修剪,这可能导致指数性能增益。本文对超一致ASP程序类(ASP^{sc}程序)进行了勇敢谨慎推理,形式化地建立并证明了DMS的正确性。ASP^{sc}程序保证一致性(即,有答案集),当一组任意的事实被添加到其中时。这一结果推广了DMS的适用性,因为ASP^{sc}程序的类比具有分层否定的ASP程序更丰富,特别是包括所有无奇循环的程序。DMS已被实现为DLV的扩展,DMS的有效性,ASP^{sc}程序的经验证实了与该系统的实验结果。

英文摘要:

For many practical applications of ASP, for instance data integration or planning, query answering is important, and therefore query optimization techniques for ASP are of great interest. Magic Sets are one of these techniques, originally defined for Datalog queries (ASP without disjunction and negation). Dynamic Magic Sets (DMS) are an extension of this technique, which has been proved to be sound and complete for query answering over ASP programs with stratified negation. A distinguishing feature of DMS is that the optimization can be exploited also during the nondeterministic phase of ASP engines. In particular, after some assumptions have been made during the computation, parts of the program may become irrelevant to a query under these assumptions. This allows for dynamic pruning of the search space, which may result in exponential performance gains. In this paper, the correctness of DMS is formally established and proved for brave and cautious reasoning over the class of super-consistent ASP programs (ASP^{sc} programs). ASP^{sc} programs guarantee consistency (i.e., have answer sets) when an arbitrary set of facts is added to them. This result generalizes the applicability of DMS, since the class of ASP^{sc} programs is richer than ASP programs with stratified negation, and in particular includes all odd-cycle-free programs. DMS has been implemented as an extension of DLV, and the effectiveness of DMS for ASP^{sc} programs is empirically confirmed by experimental results with this system.

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

↑