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

快速合并分类算法的优化
引用本文:周德安.快速合并分类算法的优化[J].南京航空航天大学学报,1988(2).
作者姓名:周德安
摘    要:本文介绍一种改进的快速合并分类算法及其在微机上的实现。在用各种比较操作进行分类的算法中,著名的合并分类(Merge Sort)法的分类速度最快,但它要以较大的额外存贮空间为代价。本算法与合并分类法相比,速度更快,而需要的额外存贮空间却减少了50%~67%。实验结果表明,N在500~1500范围内,速度提高了4.7%~8.5%,所需的额外存贮空间减少了51.2%~65.9%。本算法已在IBM PC机上用BASIC语言实现,可把本程序作为一个子程序加以调用。

关 键 词:算法  寻优  程序设计  存贮空间

An Optimization of a Fast Merge Sort Algorithm
Zhou Dean.An Optimization of a Fast Merge Sort Algorithm[J].Journal of Nanjing University of Aeronautics & Astronautics,1988(2).
Authors:Zhou Dean
Abstract:This paper describes an improved fast merge sort algorithm and its implementation on a microcomputer.In various of sort algorithms based on comparative operations,the well-known merge sort algorithm is the fastest but at the expense of more extra memory space. In comparison with general merge sort algorithm,this one described in this paper is faster and the extra memory space required is reduced by 50%-67%.It is shown in the experiment with N in the range of 500-1500, it is sped up by 4.7%-8.5% and the extra memory space required, however,was reduced by 51.2% -65.9%.The algorithm has been implemented on IBM PC with BASIC language. The corresponding program can be called as a standard subroutine.
Keywords:algorithm  optimizing  programming  extra memory space  
本文献已被 CNKI 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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