期刊文献+

一种三路划分快速排序的改进算法 被引量:7

Enhanced algorithm for three-route quick sort
下载PDF
导出
摘要 快速排序是一种经典的排序算法,它的平均性能非常突出。针对快速排序在某些特殊情况下(如数据已有序或重复数据较多时)效率较低的问题进行了研究,对三路快速排序进行改进,使快速排序在特殊情况下也能保持较好的效率。通过大量的数据测试发现,该算法在最好情况下其性能在几个数量级上优于普通快速排序,在最坏情况下,其性能较普通快速排序无明显差距。改进后的三路快速排序是一种通用高效的排序算法,因此在某些情况下选用、该算法会获得更好的效率。 Quick sort is a kind of classic sorting method whose average operation stands out.For the low efficiency problem of the quick sort in some special cases(when dealing with ordered or repetitive data),the algorithm improved the three-way quick sort,so that in special cases,the algorithm still maintainsed good efficiency.Large number of tests show that,in its best scenario,this calculating approach is largely superior to the ordinary ones,and in its worst scenario,it equals to the ordinary ones.The improved three-way quick sort is a general and efficient sorting algorithms,so in certain case,it may provide access to more efficiency.
出处 《计算机应用研究》 CSCD 北大核心 2012年第7期2513-2516,共4页 Application Research of Computers
关键词 快速排序 平均时间复杂度 三路划分快速排序 算法 排序性能 quick sort average time complexity three-route quick sort algorithm efficiency for sorting
  • 相关文献

参考文献10

二级参考文献36

  • 1唐向阳.分段快速排序法[J].软件学报,1993,4(2):53-57. 被引量:48
  • 2江华.实型数据的非比较分段排序算法[J].计算机应用与软件,2005,22(3):105-107. 被引量:5
  • 3周建钦.超快速排序算法[J].计算机工程与应用,2006,42(29):41-42. 被引量:17
  • 4严蔚敏,吴伟民.数据结构[M].北京:清华大学出版社,2008:81-84.
  • 5秦锋,汤文兵,章曙光,等.数据结构[M].合肥:中国科学技术大学出版社.2007:101-102.
  • 6C.A.R. Hoare. Algorithm 64: Quicksort[J]. Communications of the ACM, 1961,4(7):321.
  • 7C.A.R. Hoare. Quicksort[J]. The Computer Journal, 1962,5(1):10-15.
  • 8R.L. Wainwright. A class of sorting algorithms based on quicksort[J]. Communications of the ACM, 1985, 28(4): 369-402.
  • 9R.C. Singleton. Algorithm 347: An efficient algorithm for sorting with minimal storage[J]. Communications of the ACM, 1969, 12 (3):186-187.
  • 10J.S. Hillmore. Certification of algorithms 63, 64, 65[J]. Communications of the ACM, 1962,5(8):439.

共引文献39

同被引文献46

引证文献7

二级引证文献20

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部