首页 | 官方网站   微博 | 高级检索  
     

一种新型单循环排序算法
引用本文:张南平,王海军,付世海.一种新型单循环排序算法[J].微机发展,2005,15(5):114-115.
作者姓名:张南平  王海军  付世海
作者单位:武汉菲旺软件技术有限责任公司 湖北武汉430070 (张南平),武汉理工大学计算机学院 湖北武汉430070 (王海军),武汉理工大学计算机学院 湖北武汉430070(付世海)
摘    要:排序是计算机程序设计中一项经常而又重要的操作,研究排序算法具有重要的理论意义和广泛的应用价值。通过对目前常用的几种排序算法的研究,指出它们均为双重循环或多重循环结构设计,借鉴了军队排队列的思想,提出一种只需要单重循环结构即可完成排序过程的新型算法,并进行了编程实现。通过对该算法的时间复杂度、空间复杂度以及稳定性等性能分析,证明该算法对于基本有序的数据排列排序性能优秀,对于数据排列大都是两两错位的排序过程接近最优算法。

关 键 词:排序  算法  复杂度
文章编号:1005-3751(2005)05-0114-02
修稿时间:2004年8月19日

A New Single Cycle Sorting Algorithm
ZHANG Nan-ping,WANG Hai-jun,FU Shi-hai.A New Single Cycle Sorting Algorithm[J].Microcomputer Development,2005,15(5):114-115.
Authors:ZHANG Nan-ping  WANG Hai-jun  FU Shi-hai
Affiliation:ZHANG Nan-ping~1,WANG Hai-jun~2,FU Shi-hai~2
Abstract:Sorting is a frequent and important operation in computer programming.Studying the sorting algorithms has important theory meaning and extensive using value.Through to the research of several kinds of sorting algorithms at present,point out that they are double cycles even multiple cycles,draw lessons from the thought that armies line up to arrange,propose a new kind of sorting algorithm which finishes sorting in one cycle only,and has carried on programming realization.Pass the time complexity,space complexity and stability to this algorithm when the analysis of performance,prove that the performance of sorting of this algorithm in an order to the orderly data is outstanding,it is mostly that two of sequencing course of misplacing are close to the optimum algorithm to sort the data.
Keywords:sorting  algorithm  complexity
本文献已被 CNKI 维普 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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

京公网安备 11010802026262号