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

基于数组的两端选择排序算法
引用本文:袁晓洲. 基于数组的两端选择排序算法[J]. 软件, 2012, 33(9): 104-105
作者姓名:袁晓洲
作者单位:湖北职业技术学院信息技术学院,湖北孝感,432000
摘    要:数据处理中经常用到的核心运算就是排序.在一些商用计算机上,用在排序上的CPU时间达到20%~60%.[1]本文对选择排序的算法进行了优化,采用两端同时排序,其比较次数是常用的选择排序的一半,从而大大降低了计算机运行次数,大幅提高了计算机工作效率.在其他排序算法中也可以借鉴这种方法.

关 键 词:数据结构  算法优化  选择排序  C语言程序

Selective Sorting Algorithm from Both Ends in Arrays
YUAN Xiao-zhou. Selective Sorting Algorithm from Both Ends in Arrays[J]. Software, 2012, 33(9): 104-105
Authors:YUAN Xiao-zhou
Affiliation:YUAN Xiao-zhou (School of Information Technology, Hubei Polytechnic institute, Xiaogan, Hubei 432000,China)
Abstract:The core computation commonly used in data processing is sorting. The percentage of CPU time used in sorting is from 20% to 60% in some business computers. This paper brings forward an optimized selective sorting algorithm by sorting from both ends simultaneously. Since the time of comparison in this sorting is only half of the commonly used selective sorting, the computer running time is greatly decreased, and the computer work efficiency is highly increased. This sorting method can be used as reference in other sorting algorithm.
Keywords:Data Structure  Algorithm Optimization  Aelection Sort  The C Programming Language
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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