Skip to main content
Log in

Extensions of Self-Improving Sorters

  • Published:
Algorithmica Aims and scope Submit manuscript

Abstract

Ailon et al. (SIAM J Comput 40(2):350–375, 2011) proposed a self-improving sorter that tunes its performance to an unknown input distribution in a training phase. The input numbers \(x_1,x_2,\ldots ,x_n\) come from a product distribution, that is, each \(x_i\) is drawn independently from an arbitrary distribution \({{{\mathcal {D}}}}_i\). We study two relaxations of this requirement. The first extension models hidden classes in the input. We consider the case that numbers in the same class are governed by linear functions of the same hidden random parameter. The second extension considers a hidden mixture of product distributions.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Similar content being viewed by others

Notes

  1. There is a technical condition required of the input distribution to be explained in Sect. 2.

  2. The space usage according to the description in [10] is \(O(m\log m)\), but it can be improved to O(m) as mentioned in [7].

References

  1. Ailon, N., Chazelle, B., Clarkson, K.L., Liu, D., Mulzer, W., Seshadhir, C.: Self-improving algorithms. SIAM J. Comput. 40(2), 350–375 (2011)

    Article  MathSciNet  Google Scholar 

  2. Cheng, S.-W., Yan, L.: Extensions of self-improving sorters. In: Proceedings of the 29th International Symposium on Algorithms and Computation, pp. 63:1–63:12 (2018)

  3. Clarkson, K.L., Mulzer, W., Seshadhri, C.: Self-improving algorithms for coordinatewise maxima and convex hulls. SIAM J. Comput. 43(2), 617–653 (2014)

    Article  MathSciNet  Google Scholar 

  4. Cover, T.M., Thomas, J.A.: Elements of Information Theory, 2nd edn. Wiley, New York (2006)

    MATH  Google Scholar 

  5. Driscoll, J.R., Sarnak, N., Sleator, D.D., Tarjan, R.E.: Making data structures persistent. J. Comput. Syst. Sci. 38, 86–124 (1989)

    Article  MathSciNet  Google Scholar 

  6. Fredman, M.L.: Two applications of a probabilistic search technique: sorting \(X+Y\) and building balanced search trees. In: Proceedings of the 7th Symposium on Theory of Computing, pp. 240–244 (1975)

  7. Italiano, G.F., Raman, R.: Topics in data structures. In: Atallah, M.J., Blanton, M. (eds.) Algorithms and Theory of Computation Handbook, 2nd edn, pp. 5:1–5:29. Chapman & Hall, London (2009)

    Google Scholar 

  8. Mehlhorn, K.: Nearly optimal binary search trees. Acta Inf. 5, 287–295 (1975)

    Article  MathSciNet  Google Scholar 

  9. O’Rourke, Joseph: Computational Geometry in C, 2nd edn. Cambridge University Press, Cambridge (1998)

    Book  Google Scholar 

  10. van Emde Boas, P., Kaas, R., Zijlstra, E.: Design and implementation of an efficient priority queue. Math. Syst. Theory 10, 99–127 (1977)

    Article  MathSciNet  Google Scholar 

  11. Yeung, R.W.: A First Course in Information Theory. Kluwer Academic, Dordrecht (2002)

    Book  Google Scholar 

Download references

Acknowledgements

We thank the anonymous reviewers for their valuable comments, suggesting a cleaner proof of Lemma 3.5, and alerting us to mistakes that we subsequently corrected.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Siu-Wing Cheng.

Additional information

Publisher's Note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

S.-W. Cheng: Supported by Research Grants Council, Hong Kong, China (Project No. 16200317). L. Yan: Part of the work was conducted while the author was at HKUST and supported by the Hong Kong Ph.D. Fellowship.

A preliminary version appeared in Proceedings of the International Symposium on Algorithms and Computation, 2018 [2].

Rights and permissions

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Cheng, SW., Jin, K. & Yan, L. Extensions of Self-Improving Sorters. Algorithmica 82, 88–106 (2020). https://doi.org/10.1007/s00453-019-00604-6

Download citation

  • Received:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s00453-019-00604-6

Navigation