...
首页> 外文期刊>IEEE Transactions on Parallel and Distributed Systems >Solving Computation Slicing Using Predicate Detection
【24h】

Solving Computation Slicing Using Predicate Detection

机译:使用谓词检测解决计算切片

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

获取外文期刊封面封底 >>

       

摘要

Given a distributed computation and a global predicate, predicate detection involves determining whether there exists at least one consistent cut (or global state) of the computation that satisfies the predicate. On the other hand, computation slicing is concerned with computing the smallest subcomputation--with the least number of consistent cuts--that contains all consistent cuts of the computation satisfying the predicate. In this paper, we investigate the relationship between predicate detection and computation slicing and show that the two problems are equivalent. Specifically, given an algorithm to detect a predicate b in a computation C, we derive an algorithm to compute the slice of C with respect to b. The time-complexity of the (derived) slicing algorithm is O(n|E|T), where n is the number of processes and E is the set of events, and O(T) is the time-complexity of the detection algorithm. We discuss how the "equivalence" result of this paper can be utilized to derive a faster algorithm for solving the general predicate detection problem in many cases.Slicing algorithms described in our earlier papers are all off-line in nature. In this paper, we also present two on-line algorithms for computing the slice. The first algorithm can be used to compute the slice for a general predicate. Its amortized time-complexity is O(n(c + n)T), where c is the average concurrency in the computation and O(T) is the time-complexity of the detection algorithm. The second algorithm can be used to compute the slice for a regular predicate. Its amortized time-complexity is only O(n2).
机译:给定分布式计算和全局谓词,谓词检测包括确定是否存在满足谓词的计算的至少一个一致割(或全局状态)。另一方面,计算切片涉及计算最小的子计算-一致割的数量最少-包含满足谓词的计算的所有一致割。在本文中,我们研究了谓词检测与计算切片之间的关系,并证明这两个问题是等效的。具体来说,给定一种在计算C中检测谓词b的算法,我们导出一种算法来计算相对于b的C切片。 (派生的)切片算法的时间复杂度为O(n | E | T),其中n是进程数,E是事件集,O(T)是检测算法的时间复杂度。我们讨论了如何利用本文的“等效性”结果来推导更快的算法来解决许多情况下的通用谓词检测问题。我们之前的论文中描述的切片算法本质上都是离线的。在本文中,我们还提出了两种用于计算切片的在线算法。第一种算法可用于为一般谓词计算切片。它的摊销时间复杂度为O(n(c + n)T),其中c是计算中的平均并发度,而O(T)是检测算法的时间复杂度。第二种算法可用于计算规则谓词的切片。它的摊销时间复杂度仅为O(n2)。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号