作者投稿和查稿 主编审稿 专家审稿 编委审稿 远程编辑

计算机工程 ›› 2006, Vol. 32 ›› Issue (1): 51-53.

• 软件技术与数据库 • 上一篇    下一篇

4 路插入排序法

唐开山   

  1. 绍兴文理学院计算机系,绍兴 312000
  • 出版日期:2006-01-05 发布日期:2006-01-05

Four-way Insertion Sort Method

TANG Kaishan   

  1. Computer Science Department, Shaoxing College of Arts and Sciences, Shaoxing 312000
  • Online:2006-01-05 Published:2006-01-05

摘要: 提出一种4 路插入的排序方法。给出了算法思想、算法描述、算法分析和实验结果。其理论意义是改进了一类时间复杂度为O(N2)排序法的时间复杂度,其实用价值是该排序法在一类时间复杂度为O(N2)排序法中排序效率较高的,其平均排序速度比直接插入排序法、选择排序法、冒泡排序快66%以上。

关键词: 插入;4 路插入;排序;算法复杂度

Abstract: This paper puts forward a four-way insertion sort method, gives its algorithmic ideas, algorithmic description, its algorithmic analysis, and its experimental results. The theoretical significance lies improved time complexity of the sorts whose time complexity is O(N2). Its practical value is the more efficient sorting method in the sort of a class whose complexity isO(N2), the average sorting speed is faster at 66% than straight insertion and selection and bubble sort.

Key words: Insert; Four-way insertion; Sort; Algorithmic complexity