An improved Shellsort algorithm
โ Scribed by Liu Renren
- Publisher
- Elsevier Science
- Year
- 1997
- Tongue
- English
- Weight
- 345 KB
- Volume
- 188
- Category
- Article
- ISSN
- 0304-3975
No coin nor oath required. For personal study only.
โฆ Synopsis
Shellsort algorithm is a refinement of the straight insertion soIt. Each pass of this method sorts all items which are h-position apart by straight insertion sort, and the place of the item to be inserted in is determined by comparing items which are already ordered from right to left.
In this paper, straight insertion of h-step length is improved to binary insertion of h-step length. So the number of comparison is reduced from O(n?) to O(n log2 n).
๐ SIMILAR VOLUMES
The LLL algorithm has received a lot of attention as an effective numerical tool for preconditioning an integer least squares problem. However, the workings of the algorithm are not well understood. In this paper, we present a new way to look at the LLL reduction, which leads to a new implementation