THE CHARACTERIZATION OF SORT SEQUENCES

  • Yun, MIn-Young (Department of Computer Engineering Sungkyul University)
  • Published : 1997.06.01

Abstract

A sort sequence $S_n$ is a sequence of all unordered pairs of indices in $I_n\;=\;{1,\;2,v...,\;n}$. With a sort sequence Sn we assicuate a sorting algorithm ($AS_n$) to sort input set $X\;=\;{x_1,\;x_2,\;...,\;x_n}$ as follows. An execution of the algorithm performs pairwise comparisons of elements in the input set X as defined by the sort sequence $S_n$, except that the comparisons whose outcomes can be inferred from the outcomes of the previous comparisons are not performed. Let $X(S_n)$ denote the acverage number of comparisons required by the algorithm $AS_n$ assuming all input orderings are equally likely. Let $X^{\ast}(n)\;and\;X^{\circ}(n)$ denote the minimum and maximum value respectively of $X(S_n)$ over all sort sequences $S_n$. Exact determination of $X^{\ast}(n),\;X^{\circ}(n)$ and associated extremal sort sequenes seems difficult. Here, we obtain bounds on $X^{\ast}(n)\;and\;X^{\circ}(n)$.

Keywords

References

  1. Journal of ACM v.17 no.3 The Use of Information in Sorting H.L. Beus
  2. Israel Jouranl of Mathematics v.38 Sorting in One Round B. Bollobas;M. Rosenfield
  3. Journal of ACM v.9 no.2 A Sorting Problem R.C. Bose;R.J. Nelson
  4. Korean J. Comp. and Appl. Math. v.3 no.1 Design and Analysis of Predictive Sorting Algorithms M.Y. Yun
  5. Graph Theory F. Harary
  6. Colloq. Math. v.3 On the Theory of Graphs P. Turan