Presorting algorithms: An average-case point of view

Citation
Hk. Hwang et al., Presorting algorithms: An average-case point of view, THEOR COMP, 242(1-2), 2000, pp. 29-40
Citations number
13
Categorie Soggetti
Computer Science & Engineering
Journal title
THEORETICAL COMPUTER SCIENCE
ISSN journal
03043975 → ACNP
Volume
242
Issue
1-2
Year of publication
2000
Pages
29 - 40
Database
ISI
SICI code
0304-3975(20000706)242:1-2<29:PAAAPO>2.0.ZU;2-K
Abstract
We introduce the concept of presorting algorithms, quantifying and evaluati ng the performance of such algorithms with the average reduction in number of inversions. Stages of well-known algorithms such as Shellsort and quicks ort are evaluated in such a framework and shown to cause a meaning drop in the inversion statistic. The expected value, variance and generating functi on for the decrease in number of inversions are computed. The possibility o f "presorting" a sorting algorithm is also investigated under a similar fra mework. (C) 2000 Elsevier Science B.V. All rights reserved.