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

二叉树排序非递归算法推导及形式化证明
引用本文:左正康,方越,黄箐,廖云燕,王渊,王昌晶.二叉树排序非递归算法推导及形式化证明[J].江西师范大学学报(自然科学版),2020,44(6):625-632.
作者姓名:左正康  方越  黄箐  廖云燕  王渊  王昌晶
作者单位:1.江西师范大学计算机信息工程学院,江西 南昌 330022; 2.江西师范大学软件学院,江西 南昌 330022
基金项目:江西省自然科学基金;国家自然科学基金;教育部国家留学基金
摘    要:非线性数据结构递归问题非递归算法的循环不变式的开发一直是形式化开发的难点.研究二叉树类非递归算法的推导及形式化证明方法,对二叉树排序算法进行推导,得出非递归Apla(Abstract Programming Language)算法及其精确而简单的循环不变式,然后用Dijkstra-Gries标准程序证明法证明算法的正确性,最后使用PAR平台C++程序自动生成系统自动生成C++代码.实例的实验结果简化了算法程序的推导和证明过程,对递归问题非递归算法的循环不变式的探测具有一定的借鉴意义,而且对非线性数据结构算法程序的推导及形式化证明具有指导意义.

关 键 词:二叉树类非递归算法  循环不变式  PAR  平台  Dijkstra-Gries标准程序证明法  非线性数据结构

The Derivation and Formal Proof of Binary Tree Sorting Non-Recursive Algorithm
ZUO Zhengkang,FANG Yue,HUANG Qing,LIAO Yunyan,WANG Yuan,WANG Changjing.The Derivation and Formal Proof of Binary Tree Sorting Non-Recursive Algorithm[J].Journal of Jiangxi Normal University (Natural Sciences Edition),2020,44(6):625-632.
Authors:ZUO Zhengkang  FANG Yue  HUANG Qing  LIAO Yunyan  WANG Yuan  WANG Changjing
Institution:1.College of Computer Information Engineering,Jiangxi Normal University,Nanchang Jiangxi 330022,China; 2.College of Software,Jiangxi Normal University,Nanchang Jiangxi 330022,China
Abstract:The development of loop invariants for recursive problems of nonlinear data structures are always difficult problems in formal development.In this paper,an approach for the derivation and formal proof of binary tree non-recursive algorithm are researched,and the non-recursive Apla(Abstract Programming Language)algorithm of binary tree sorting algorithm and its exact and simple loop invariant are derived.Then,the correctness of the algorithm is proved by Dijkstra-Gries standard proving technique.In the end,the PAR platform C++ program automatic generation system automatically generates C++ code.The experimental results of the example simplify the derivation and proof of the algorithm program and are useful for the direction for the exploration of loop invariant of non-recursive algorithm for recursive problems,which has guiding significance for the formal proof of algorithm program for nonlinear data structure.
Keywords:binary tree class non-recursive algorithm  loop invariant  PAR platform  Dijkstra-Gries standard proving technique  nonlinear data structure
本文献已被 万方数据 等数据库收录!
点击此处可从《江西师范大学学报(自然科学版)》浏览原始摘要信息
点击此处可从《江西师范大学学报(自然科学版)》下载免费的PDF全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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