首页> 外文期刊>Theory and Practice of Logic Programming >Efficient instance retrieval of sub goals for subsumptive tabled evaluation of logic programs
【24h】

Efficient instance retrieval of sub goals for subsumptive tabled evaluation of logic programs

机译:子目标的有效实例检索,用于逻辑程序的表式评估

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

摘要

Tabled evaluation is an implementation technique that solves some problems of traditional Prolog systems in dealing with recursion and redundant computations. Most tabling engines determine if a tabled subgoal will produce or consume answers by using variant checks. A more refined method, named call subsumption, considers that a subgoal A will consume from a subgoal B if A is subsumed by (an instance of) B, thus allowing greater answer reuse. We recently developed an extension, called Retroactive Call Subsumption, that improves upon call subsumption by supporting bidirectional sharing of answers between subsumed/subsuming subgoals. In this paper, we present both an algorithm and an extension to the table space data structures to efficiently implement instance retrieval of subgoals for subsumptive tabled evaluation of logic programs. Experiments results using the YapTab tabling system show that our implementation performs quite well on some complex benchmarks and is robust enough to handle a large number of subgoals without performance degradation.
机译:表评估是一种解决技术,解决了传统Prolog系统在处理递归和冗余计算时的一些问题。大多数制表引擎通过使用变式检查来确定表中的子目标是产生还是使用答案。一种更完善的方法,称为呼叫包含,认为如果A被B的一个实例所包含,则子目标A将从子目标B中消耗,因此允许更大的答案重用。我们最近开发了一种扩展,称为回溯式呼叫转换,它通过支持在包含/包含的子目标之间双向共享答案来改进呼叫转换。在本文中,我们提出了表空间数据结构的算法和扩展,以有效地实现子目标的实例检索,以对逻辑程序进行表式评估。使用YapTab制表系统的实验结果表明,我们的实现在某些复杂的基准测试中表现良好,并且足够强大,可以处理大量子目标,而不会降低性能。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号