Nothing Special   »   [go: up one dir, main page]

Skip to main content
Log in

A note on counting independent terms in asymptotic expressions of computational complexity

  • Original Paper
  • Published:
Optimization Letters Aims and scope Submit manuscript

Abstract

The field of computational complexity is concerned both with the intrinsic hardness of computational problems and with the efficiency of algorithms to solve them. Given such a problem, normally one designs an algorithm to solve it and sets about establishing bounds on the algorithm’s performance as functions of the relevant input-size descriptors, particularly upper bounds expressed via the big-oh notation. In some cases, however, especially those arising in the fields of experimental algorithmics and optimization, one may have to resort to performance data on a given set of inputs in order to figure out the algorithm’s big-oh profile. In this note, we are concerned with the question of how many candidate expressions may have to be taken into account in such cases. We show that, even if we only considered upper bounds given by polynomials, the number of possibilities could be arbitrarily large for two or more descriptors. This is unexpected, given the available body of examples on algorithmic efficiency, and underlines the importance of careful and meticulous criteria. It also serves to illustrate the many facets of the big-oh notation, as well as its counter-intuitive twists.

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

Access this article

Subscribe and save

Springer+ Basic
$34.99 /Month
  • Get 10 units per month
  • Download Article/Chapter or eBook
  • 1 Unit = 1 Article or 1 Chapter
  • Cancel anytime
Subscribe now

Buy Now

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

Instant access to the full article PDF.

Fig. 1

Similar content being viewed by others

Notes

  1. One of the well-known examples of this in the single-variable case is Strassen’s algorithm for multiplying two \(n\times n\) matrices, whose running time is \(O(n^{\log _2 7})\) [8].

References

  1. Goldsmith, S.F., Aiken, A.S., Wilkerson, D.S.: In Proc. ESEC-FSE 2007, pp. 395–404 (2007)

  2. Burnim, J., Juvekar, S., Sen, K.: In Proc. ICSE 2009, pp. 463–473 (2009)

  3. Zaparanuks, D., Hauswirth, M.: In Proc. PLDI 2012, pp. 67–76 (2012)

  4. Coppa, E., Demetrescu, C., Finocchi, I.: IEEE T. Software Eng. 40:1185 (2014)

  5. Hardy, G.H.: Orders of infinity: The ‘infinitärcalcül’ of Paul du Bois-Reymond, 2nd edn. Cambridge University Press, Cambridge (1924)

    MATH  Google Scholar 

  6. Graham, R.L., Knuth, D.E., Patashnik, O.: Concrete mathematics: a foundation for computer science, 2nd edn. Addison-Wesley, Reading (1989)

    MATH  Google Scholar 

  7. Schrijver, A.: Combinatorial optimization: polyhedra and efficiency, vol A–C. Springer, Berlin (2003)

    MATH  Google Scholar 

  8. Strassen, V.: Numer. Math. 13:354 (1969)

  9. Regan, K.W.: A polynomial growth puzzle (2015). Gödel’s Lost Letter and P = NP. https://rjlipton.wordpress.com/2015/09/12/a-polynomial-growth-puzzle/

Download references

Acknowledgements

The authors acknowledge partial support from Conselho Nacional de Desenvolvimento Científico e Tecnológico, Coordenação de Aperfeiçoamento de Pessoal de Nível Superior, Fundação de Amparo à Pesquisa do Estado do Rio de Janeiro (FAPERJ), and a FAPERJ BBP grant.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Valmir C. Barbosa.

Rights and permissions

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Oliveira, F.d.S., Barbosa, V.C. A note on counting independent terms in asymptotic expressions of computational complexity. Optim Lett 11, 1757–1765 (2017). https://doi.org/10.1007/s11590-016-1092-7

Download citation

  • Received:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s11590-016-1092-7

Keywords

Navigation