首页> 外文会议>Logic Programming >Speculative Computations in Or-Parallel Tabled Logic Programs
【24h】

Speculative Computations in Or-Parallel Tabled Logic Programs

机译:或并行表逻辑程序中的推测性计算

获取原文

摘要

Pruning operators, such as cut, are important to develop efficient logic programs as they allow programmers to reduce the search space and thus discard unnecessary computations. For parallel systems, the presence of pruning operators introduces the problem of speculative computations. A computation is named speculative if it can be pruned during parallel evaluation, therefore resulting in wasted effort when compared to sequential execution. In this work we discuss the problems behind the management of speculative computations in or-parallel tabled logic programs. In parallel tabling, not only the answers found for the query goal may not be valid, but also answers found for tabled predicates may be invalidated. The problem here is even more serious because to achieve an efficient implementation it is required to have the set of valid tabled answers released as soon as possible. To deal with this, we propose a strategy to deliver tabled answers as soon as it is found that they are safe from being pruned, and present its implementation in the OPTYap parallel tabling system.
机译:修剪运算符(例如cut)对于开发高效的逻辑程序很重要,因为它们允许程序员减少搜索空间,从而丢弃不必要的计算。对于并行系统,修剪运算符的存在引入了推测计算的问题。如果可以在并行评估期间将其修剪,则该计算被称为推测性计算,因此与顺序执行相比,这会浪费精力。在这项工作中,我们讨论了在并行表逻辑程序中管理推测性计算背后的问题。在并行制表中,不仅为查询目标找到的答案可能无效,而且对于表述谓词找到的答案也可能无效。这里的问题更加严重,因为要实现有效的实现,就需要尽快释放有效的表答案集。为了解决这个问题,我们提出了一种策略,一旦发现表中的答案可以被安全删除,则立即提供该表中的答案,并在OPTYap并行制表系统中介绍其实现。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号