Skip to main content

Homogeneous and Non-homogeneous Algorithms

  • Conference paper
  • First Online:
Optimization Theory, Decision Making, and Operations Research Applications

Part of the book series: Springer Proceedings in Mathematics & Statistics ((PROMS,volume 31))

  • 1605 Accesses

Abstract

Motivated by recent best case analyses for some sorting algorithms and based on the type of complexity we partition the algorithms into two classes: homogeneous and non-homogeneous algorithms.1 Although both classes contain algorithms with worst and best cases, homogeneous algorithms behave uniformly on all instances. This partition clarifies in a completely mathematical way the previously mentioned terms and reveals that in classifying an algorithm as homogeneous or not best case analysis is equally important with worst case analysis.

This paper was also presented at local proceedings of PCI’09 [Paparrizos, Homogeneous and Non-Homogeneous Algorithms (2009)].

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

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 84.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 109.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info
Hardcover Book
USD 109.99
Price excludes VAT (USA)
  • Durable hardcover edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

References

  1. Blum, M., Floyd, R., Pratt, V., Rivest, R., Tarjan, R.: Time bounds for selection. J. Comp. Syst. Sci. 7(4), 448–461 (1973)

    Article  MathSciNet  MATH  Google Scholar 

  2. Bollobas, B., Fenner, T.I., Frieze, A.M.: On best case of heapsort. J. Algorithms 20, 205–217 (1996)

    Article  MathSciNet  MATH  Google Scholar 

  3. Brassard, G.: Crusade for a better notation. ACM Sigact News 17(1), 60–64 (1985)

    Article  Google Scholar 

  4. Ding, Y., Weiss, M.A.: Best case lower bounds for Heapsort. Computing 49, 1–9 (1992)

    Article  MathSciNet  MATH  Google Scholar 

  5. Dutton, R.: Weak-heapsort. BIT 33, 372–381 (1993)

    Article  MathSciNet  Google Scholar 

  6. Edelkamp, S., Wegener, I.: On the performance of weak heasort, STACS. Lecture Notes in Computer Science, pp. 254–266. Springer, Berlin (2000)

    Google Scholar 

  7. Edelkamp, S., Stiegeler, P.: Implementing heapsort with nlogn − 0. 9n and quicksort with nlogn + 0. 2n comparisons. ACM J. Exp. Algorithmics (JEA) 7(1), 1–20 (2002)

    Google Scholar 

  8. Fleischer, R.: A tied lower bound for the worst case of bottom-up heapsort. Algorithmica 11, 104–115 (1994)

    Article  MathSciNet  Google Scholar 

  9. Floyd, R. Algorithm 245: treesort 3. Comm. ACM 7, 701 (1964)

    Article  Google Scholar 

  10. Gurevich, Y.: What does O(n) mean? ACM Sigact News 17(4), 61–63 (1986)

    Article  Google Scholar 

  11. Haralick, R.M., Elliot, G.L.: Increase tree search efficiency for constraint satisfaction problems. Artif. Intell. 14, 263–313 (1980)

    Article  Google Scholar 

  12. Hoare, A.: Quicksort. Comp. J. 5, 10–15 (1962) s

    Google Scholar 

  13. Knuth, D.: Big omicron and big theta and big omega. ACM Sigact News 8(2), 18–23 (1976)

    Article  Google Scholar 

  14. Nadel, B.A.: The consistent labeling problem and its algorithms: Towards exact-case complexities and theory-based heuristics. Ph.D. dissertation, Department of Computer Science, Rutgers University, New Brunswick, NJ, May (1986)

    Google Scholar 

  15. Nadel, B.A.: The complexity of constraint satisfaction in Prolog. In: Proceedings of the 8th National Conference Artificial Intell. (AAAI‘90)pp. 33–39, Boston, MA, August 1990. An expanded version is available as Technical Report CSC-89-004, Department of Computer Science, Wayne State University, Detroit, MI (1989)

    Google Scholar 

  16. Nadel, B.A.: Representation selection for constrain satisfaction: a case study using n-queens. IEEE Expert 5(3), 16–23 (1990)

    Article  MathSciNet  Google Scholar 

  17. Nadel, B.A.: Precision complexity analysis: a case study using insertion sort. Inf. Sci. 73, 139–189 (1993)

    Article  MathSciNet  MATH  Google Scholar 

  18. Nudel, B.A.: Solving the general consistent labeling (or constraint satisfaction) problem: two algorithms and their expected complexities. In: Proceedings of the 3rd National Conference Artificial Intell. (AAAI‘83), pp. 292–296, Washington, DC, Aug (1983)

    Google Scholar 

  19. Paparrizos, I.: Homogeneous and non-homogeneous algorithms. In: Proceedings of the 13th Panhellenic Conference on Informatics (PCI’09), September (2009)

    Google Scholar 

  20. Schaffer, R., Sedgwick, R.: The analysis of heapsort. J. Algorithms 15, 76–100 (1993)

    Article  MathSciNet  MATH  Google Scholar 

  21. Wang, X.D., Wu, Y.J.: An improved heapsort algorithm with nlogn − 0. 788928n comparisons in the worst case. J. Comp. Sci. Tech. 22(6), 898–903 (2007)

    Google Scholar 

  22. Williams, J.W.J.: Algorithm 232: heapsort. Comm. ACM 6, 347–348 (1964)

    Google Scholar 

Download references

Acknowledgements

We thank an anonymous referee for useful suggestions and for bringing to our attention the reference [17].

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Ioannis Paparrizos .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2013 Springer Science+Business Media New York

About this paper

Cite this paper

Paparrizos, I. (2013). Homogeneous and Non-homogeneous Algorithms. In: Migdalas, A., Sifaleras, A., Georgiadis, C., Papathanasiou, J., Stiakakis, E. (eds) Optimization Theory, Decision Making, and Operations Research Applications. Springer Proceedings in Mathematics & Statistics, vol 31. Springer, New York, NY. https://doi.org/10.1007/978-1-4614-5134-1_17

Download citation

Publish with us

Policies and ethics