扩展WASP的外部接口
The External Interface for Extending WASP
摘要:
回答集程序设计(ASP)是一种成功的知识表示和推理的声明式形式。目前,ASP程序的评估是基于上下文驱动的子句学习(CDCL)的回溯搜索算法。最近的工作表明,基于CDCL的实现的性能可以大大提高特定的基准测试,通过扩展他们的解决能力与自定义的算法和传播。然而,将这样的算法嵌入到现有的系统中需要ASP实现内部的专业知识。通过提供合适的编程接口,可以更容易地开发有效的求解器扩展。在本文中,我们提出的接口扩展CDCL为基础的ASP求解器WASP。该接口是通用的,即它可以用于提供新的分支算法和传播器,以及外部的,即新算法的实现不需要WASP的内部修改。此外,我们回顾了应用程序的接口见证它可以成功地用于扩展WASP有效地解决现实世界和合成问题的硬实例。逻辑程序设计理论与实践(TPLP)
英文摘要:
Answer set programming (ASP) is a successful declarative formalism for knowledge representation and reasoning. The evaluation of ASP programs is nowadays based on the Conflict-Driven Clause Learning (CDCL) backtracking search algorithm. Recent work suggested that the performance of CDCL-based implementations can be considerably improved on specific benchmarks by extending their solving capabilities with custom heuristics and propagators. However, embedding such algorithms into existing systems requires expert knowledge of the internals of ASP implementations. The development of effective solver extensions can be made easier by providing suitable programming interfaces. In this paper, we present the interface for extending the CDCL-based ASP solver WASP. The interface is both general, i.e. it can be used for providing either new branching heuristics and propagators, and external, i.e. the implementation of new algorithms requires no internal modifications of WASP. Moreover, we review the applications of the interface witnessing it can be successfully used to extend WASP for solving effectively hard instances of both real-world and synthetic problems. Under consideration in Theory and Practice of Logic Programming (TPLP).
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。