首页 | 本学科首页   官方微博 | 高级检索  
     

由规格说明到排序算法
引用本文:钟珞.由规格说明到排序算法[J].微机发展,1992(3).
作者姓名:钟珞
作者单位:武汉工业大学自动化系 湖北武昌,430070
摘    要:本文给出由程序的规格说明变换出程序的一种系统化方法的新概念.对规格说明进行不同的变换可得到不同的不变式形式.这些不变式通过计算最弱前置条件给出了多种相应算法的框架。本文以若干著名的排序算法例示了以上的概念和方法。

关 键 词:规格说明  变换  最弱前置条件  排序算法

From Specification to Sorting Algorithms
ZHONG Luo.From Specification to Sorting Algorithms[J].Microcomputer Development,1992(3).
Authors:ZHONG Luo
Abstract:This paper gives some new ideas, which is that transformations on a program specification provide a systematic method for programming .Different transformations on the specification can give new and al ernative forms of invariants. These invariant can provide the framework for the transformation of a variety of algorithms by use of weakest precondition techniques. This paper gives some well-known sorting algorithms to be transform from original program specification to demonstrate above ideas and method.
Keywords:Specification  Transforma-ion  Weakest Precondition  Sorting
本文献已被 CNKI 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号