期刊文献+

基于满二叉树的原地快速排序 被引量:7

In-place quicksort based on full binary tree
下载PDF
导出
摘要 介绍了一种基于满二叉树的原地快速排序算法。与经典快速排序算法相比,新算法每趟划分采用动态枢轴而不是静态枢轴,同时新算法利用满二叉树的特点计算下一趟划分的枢轴位置和元素范围,避免使用递归或开辟内存堆栈。实验表明,新算法的时间性能优于目前最好的原地排序—堆排序。原地快速排序二叉树的概念对排序算法的研究和改进具有很好的理论和实用参考价值。 In place quicksort based on full binary tree is introduced. The new algorithm has two main differences from classic quicksort. The first is that the pivot of the new algorithm is dynamic but the classic's is static in every partition. The second is that the new algorithm computes the scope and the pivot of the next partition, so it can avoid using recursive or using stack. The experiment certifies that the time property of the new algorithm is superior to that of the best inplace heapsort. The concept of in place quicksort binary tree has great theoretical and practical reference value to the research and improvement of sorting algorithm.
作者 范时平
出处 《重庆邮电学院学报(自然科学版)》 2006年第6期781-783,共3页 Journal of Chongqing University of Posts and Telecommunications(Natural Sciences Edition)
基金 重庆市教委基金(2005.78) 重庆邮电大学青年教师基金(2005-18)
关键词 原地 满二又树 快速排序 原地快速排序二叉树 in-place full binary tree quicksort in-place quicksort binary tree
  • 相关文献

参考文献7

  • 1严蔚敏,吴伟民.数据结构(C语言版)[M].北京:清华大学出版社,2003.
  • 2霍红卫,许进.快速排序算法研究[J].微电子学与计算机,2002,19(6):6-9. 被引量:27
  • 3范时平,汪林林,张学旺.一种快速线性原地二路归并算法[J].重庆邮电学院学报(自然科学版),2005,17(1):105-108. 被引量:3
  • 4HOARE C A R. Quieksort[J]. Computer Journal, 1962,5 (1): 10-15.
  • 5ROBERT L K, ALEXANDER J R. Data structures and proram design in C + + (Copyright 1999)[M](影印版).北京:高等教育出版社,2001.
  • 6ROBERT Sedgewick. Algorithms in C Parts 1-4. Fundamentals, Data Structures, Sorting, Searching (Third Edition (Copyright 1998))[M].(影印版).北京:中国电力出版社,2003.
  • 7Microsoft Visual C + + 6. 0 MSDN [EB/OL]. [2006-08-28]. http://www. amazon.com/Microsoft-Deluxe-Learning-Professional-Editions/dp/0735606366.

二级参考文献8

  • 1范时平,聂永萍,汪林林.一种基于数据块交换的快速稳定原地归并算法[J].重庆邮电学院学报(自然科学版),2004,16(4):93-96. 被引量:4
  • 2范时平,汪林林.一种基于数据分块的快速原地归并算法[J].计算机科学,2004,31(8):204-208. 被引量:6
  • 3[1]J Dongarra. The Top 10 Algorithms. IEEE Computing in Science & Engineering,2000,2(1):22~ 23.
  • 4[2]T H Cormen,C E Leiserson,R L Rivest. Introduction to Algorithms. MIT Press,September,2001,II Sorting and Order Statistics.
  • 5[3]C A R Hoare. Quicksort. The Computer J.,1962,15(1):10~ 15.
  • 6[4]K Mulmuley. Computational Geometry:An Introduction through Randomized Algorithms. Prentice Hall,Upper Saddle River,N.J., 1994.
  • 7[5]D Helman,D Bader,and J Jala. A Randomized Parallel Sorting Algorithm with an Experimental Study. J Parallel and Distributed Computing,1998,52(1):1~ 23.
  • 8ROBERT L KRUSE Alexander J Ryba.Data structures and program design in C++(Copyright 1999)[M].北京:高等教育出版社(影印),2001..

共引文献55

同被引文献48

引证文献7

二级引证文献21

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

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