作者投稿和查稿 主编审稿 专家审稿 编委审稿 远程编辑

计算机工程 ›› 2006, Vol. 32 ›› Issue (21): 85-87. doi: 10.3969/j.issn.1000-3428.2006.21.030

• 软件技术与数据库 • 上一篇    下一篇

最小生成树算法的PAR方法形式化推导

孙凌宇1,2,薛锦云1   

  1. (1. 江西师范大学计算机信息工程学院,南昌 330027;2. 井冈山学院计算机科学系,吉安 343009)
  • 收稿日期:1900-01-01 修回日期:1900-01-01 出版日期:2006-11-05 发布日期:2006-11-05

Formal Derivation of the Minimum Spanning Tree Algorithm with PAR Method

SUN Lingyu1,2, XUE Jinyun 1   

  1. (1. Computer Information and Engineering College, Jiangxi Normal University, Nanchang 330027; 2. Department of Computer Science, Jinggangshan College, Ji’an 343009)
  • Received:1900-01-01 Revised:1900-01-01 Online:2006-11-05 Published:2006-11-05

摘要: 采用PAR方法通过功能归约变换,形式化推导出可读性好、效率高的递推的最小生成树算法,简化了算法程序设计和正确性证明的过程,有效提高了算法程序设计自动化、规范化的程度及其正确性。该文给出的相关算法在PAR平台通过自动转换系统转换成可执行语言程序并运行通过。

关键词: PAR方法, 形式化推导, 归约变换, 算法程序

Abstract: This paper uses PAR method to derivate the readable and efficient recursive minimum spanning tree algorithm formally by transforming function specification. This method simplifies the process of algorithmic program’s design and correctness testifying, and effectively improves the automatization, standardization and correctness of algorithmic program’s design. It gives the implementation of the algorithm in automatic program transformation system of PAR platform.

Key words: PAR method, Formal derivation, Specifications transform, Algorithmic programs

中图分类号: