期刊文献+

快速排序性能分析 被引量:4

Quick_Sort Analysis of Capability
下载PDF
导出
摘要 在决策树计算模型下,任何一个基于比较来确定元素相对位置的排序算法需要的计算时间是Ω(nlog2n).如果能设计一个需要O(nlog2n)时间的排序算法,在渐近的意义上,这个排序算法就是最优的.由C.A.R.Hoare发明的快速排序算法它在平均情况下需要O(nlog2n)时间.本文就该算法在最好情况下、最坏情况下、平均情况下的性能进行分析. The Analysis of Quick_Sort Capability Under the calculating model of strategic tree,any order of algorisim based on comparison setting relatine location of element,while needs time of calculating is Ω(nlogn).If an order of algorisim of Ω(nlogn) time needed can be devised,the order of algorisim is the best one in a sense of advanling step by step.The Quick Sorting order of algorisim unvented gradually in an orderly way by C.A.R.Hoare nedds Ω(nlogn) time under an average condition.The thesis analyses the performance of the order of algorisin under the best,worst and average conditions.
作者 虎治勤 HU Zhi-qin 
出处 《电脑知识与技术(过刊)》 2007年第2期443-444,共2页 Computer Knowledge and Technology
关键词 快速排序 算法 性能分析 Quick_Sort Algorisin analysis of Capability
  • 相关文献

参考文献2

  • 1[1][美]D.E.克努特,著.管纪文,等译.计算机程序设计技巧[M],北京:国防工业出版社,1998.92-109.
  • 2[2]许卓群,等著.数据结构[M],北京:高等教育出版社,1993.103-108.

同被引文献26

引证文献4

二级引证文献10

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

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