arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1507.01451cs.AIcs.LOcs.PL
收藏

一种带外部计算的答案集编程模型构建框架

A model building framework for Answer Set Programming with external computations

Technische Universität Wien(维也纳技术大学);Università della Calabria(卡拉布里亚大学);Marmara University(马尔马拉大学)

Thomas Eiter, Michael Fink, Giovambattista Ianni, Thomas Krennwallner, Christoph Redl, Peter Schüller

摘要:

随着软件系统的连接越来越紧密,需要为非单调逻辑程序配备访问外部源的能力,这些外部源可能是远程的,并且可能包含异构格式的信息。为了满足这一需求,HEX程序被设计为具有API风格接口的答案集程序的泛化,该接口允许访问任意外部源,提供了极大的灵活性。然而,对这些程序的有效评估是具有挑战性的,并且它需要交错外部计算和模型构建;决定何时在这些任务之间切换是困难的,并且现有方法在许多现实世界的应用场景中具有有限的可扩展性。我们提出了一种新的方法来评估逻辑程序与外部源访问,这是基于一个可配置的框架划分的非地面程序可能重叠的较小部分称为评估单位。后者将通过分别使用评价图和模型图交错进行外部评价和模型建立,并通过合并中间结果进行处理。与以前的方法相比,我们的原型实现的实验显示出显着的改善。虽然设计的HEX程序,新的评估方法可以部署到相关的基于规则的形式主义。

英文摘要:

As software systems are getting increasingly connected, there is a need for equipping nonmonotonic logic programs with access to external sources that are possibly remote and may contain information in heterogeneous formats. To cater for this need, HEX programs were designed as a generalization of answer set programs with an API style interface that allows to access arbitrary external sources, providing great flexibility. Efficient evaluation of such programs however is challenging, and it requires to interleave external computation and model building; to decide when to switch between these tasks is difficult, and existing approaches have limited scalability in many real-world application scenarios. We present a new approach for the evaluation of logic programs with external source access, which is based on a configurable framework for dividing the non-ground program into possibly overlapping smaller parts called evaluation units. The latter will be processed by interleaving external evaluation and model building using an evaluation graph and a model graph, respectively, and by combining intermediate results. Experiments with our prototype implementation show a significant improvement compared to previous approaches. While designed for HEX-programs, the new evaluation approach may be deployed to related rule-based formalisms as well.

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

↑