首页> 外文期刊>Theory and Practice of Logic Programming >Parallel backtracking with answer memoing for independent and-parallelism
【24h】

Parallel backtracking with answer memoing for independent and-parallelism

机译:并行回溯和答案备忘,可实现独立和并行

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

摘要

Goal-level Independent and-parallelism (IAP) is exploited by scheduling for simultaneous execution of two or more goals, which will not interfere with each other at run time. This can be done safely even if such goals can produce multiple answers. The most successful IAP implementations to date have used recomputation of answers and sequentially ordered backtracking. While in principle simplifying the implementation, recomputation can be very inefficient if the granularity of the parallel goals is large enough and they produce several answers, while sequentially ordered backtracking limits parallelism. And, despite the expected simplification, the implementation of the classic schemes has proved to involve complex engineering, with the consequent difficulty for system maintenance and extension, while still frequently running into the well-known trapped goal and garbage slot problems. This work presents an alternative parallel backtracking model for IAP and its implementation. The model features parallel out-of-order (i.e., nonchronological) backtracking and relies on answer memoization to reuse and combine answers. We show that this approach can bring significant performance advantages. Also, it can bring some simplification to the important engineering task involved in implementing the backtracking mechanism of previous approaches.
机译:目标级别的独立和并行(IAP)通过调度以同时执行两个或多个目标来利用,这两个目标在运行时不会互相干扰。即使这样的目标可以产生多个答案,也可以安全地完成此操作。迄今为止,最成功的IAP实现使用了答案的重新计算和顺序排序的回溯。虽然原则上简化了实现,但是如果并行目标的粒度足够大并产生多个答案,而顺序排序的回溯限制了并行度,则重新计算可能会非常无效率。并且,尽管期望简化,但是经典方案的实施已被证明涉及复杂的工程,随之带来系统维护和扩展的困难,同时仍然经常遇到众所周知的陷阱目标和垃圾槽问题。这项工作为IAP及其实现提供了一种替代的并行回溯模型。该模型具有并行无序(即非时间顺序)回溯功能,并依赖答案记忆来重复使用和组合答案。我们证明了这种方法可以带来显着的性能优势。而且,它可以简化实现先前方法的回溯机制所涉及的重要工程任务。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号