...
首页> 外文期刊>IEEE Transactions on Software Engineering >Derivation of data intensive algorithms by formal transformation: the Schnorr-Waite graph marking algorithm
【24h】

Derivation of data intensive algorithms by formal transformation: the Schnorr-Waite graph marking algorithm

机译:通过形式转换推导数据密集型算法:Schnorr-Waite图标记算法

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

摘要

Considers a particular class of algorithms which present certain difficulties to formal verification. These are algorithms which use a single data structure for two or more purposes, which combine program control information with other data structures or which are developed as a combination of a basic idea with an implementation technique. Our approach is based on applying proven semantics-preserving transformation rules in a wide spectrum language. Starting with a set theoretical specification of "reachability", we are able to derive iterative and recursive graph marking algorithms using the "pointer switching" idea of Schorr and Waite (1967). There have been several proofs of correctness of the Schorr-Waite algorithm, and a small number of transformational developments of the algorithm. The great advantage of our approach is that we can derive the algorithm from its specification using only general-purpose transformational rules, without the need for complicated induction arguments. Our approach applies equally well to several more complex algorithms which make use of the pointer switching strategy, including a hybrid algorithm which uses a fixed length stack, switching to the pointer switching strategy when the stack runs out.
机译:考虑一类特殊的算法,这些算法给形式验证带来了一定的困难。这些是将单个数据结构用于两个或多个目的的算法,这些算法将程序控制信息与其他数据结构相结合,或者是将基本思想与实现技术相结合而开发的。我们的方法基于在广谱语言中应用行之有效的保留语义的转换规则。从设定的“可达性”理论规范开始,我们能够使用Schorr和Waite(1967)的“指针切换”思想来推导迭代和递归图形标记算法。 Schorr-Waite算法有许多正确性的证明,并且有少量的变换开发。我们方法的最大优势在于,我们可以仅使用通用转换规则从其规范中得出算法,而无需复杂的归纳参数。我们的方法同样适用于使用指针切换策略的几种更复杂的算法,包括使用固定长度堆栈的混合算法,当堆栈用尽时切换到指针切换策略。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号