首页> 外文期刊>Science of Computer Programming >Calculational derivation of pointer algorithms from tree operations
【24h】

Calculational derivation of pointer algorithms from tree operations

机译:根据树操作计算指针算法的计算结果

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

摘要

We describe an approach to the derivation of correct algorithms on tree-based pointer struc- tures. The approach is based on enriching trees in a way that allows us to model commonly used pointer manipulations on tree structures. We provide rules which allow recursive functions on trees to be transformed into imperative algorithms on enriched trees. In addition, we provide rules which allow algorithms on enriched trees to be mechanically transformed into efficient pointer algorithms. All transformations are correctness-preserving. A key point of our approach is that we avoid aliasing through the way in which trees are enriched and through some sim- ple syntactic restrictions on transformable programs.
机译:我们描述了一种基于树的指针结构推导正确算法的方法。该方法基于丰富树的方式,使我们可以对树结构上常用的指针操作进行建模。我们提供的规则允许将树上的递归函数转换为丰富树上的命令式算法。此外,我们提供了一些规则,这些规则允许将丰富树上的算法机械转换为有效的指针算法。所有转换都保持正确性。我们的方法的关键点是,我们通过丰富树的方式以及对可转换程序的一些简单语法限制来避免混淆。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号