Skip to main content

On the Complexity of Cycle Enumeration for Simple Graphs

  • Chapter
Guide to Geometric Algebra in Practice

Abstract

We show how a number of combinatorial problems, such as determining the number of cycles in graphs, can be recast using a graded commutative algebra constructed within a real Grassmann exterior algebra. The computational complexity of this approach is then measured by considering operations at the basis blade level of the algebra. In particular, the worst-case time complexity of counting arbitrary length cycles in simple n-vertex graphs via nilpotent adjacency matrix methods is shown to be , where α≤3 is the exponent representing the complexity of matrix multiplication. The storage complexity of the nilpotent adjacency matrix approach is . A probabilistic model is used to describe a class of graphs in which the average-case time complexity of cycle enumeration is for fixed 0<q<1. For reference, experimental results detailing computation times (in seconds) are compared with algorithms based on the approaches of Bax and Tarjan.

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 129.00
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 169.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info
Hardcover Book
USD 169.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. Bax, E.: Algorithms to count paths and cycles. Inf. Process. Lett. 52, 249–252 (1994)

    Article  MathSciNet  Google Scholar 

  2. Coppersmith, D., Winograd, S.: Matrix multiplication via arithmetic progressions. J. Symb. Comput. 9, 251–280 (1990)

    Article  MathSciNet  MATH  Google Scholar 

  3. Karp, R.M.: Reducibility among combinatorial problems. In: Complexity of Computer Computations, pp. 85–103. Plenum, New York (1972)

    Google Scholar 

  4. Karp, R.: Dynamic programming meets the principle of inclusion and exclusion. Oper. Res. Lett. 1, 49–51 (1982)

    Article  MathSciNet  MATH  Google Scholar 

  5. Schott, R., Staples, G.S.: Computational complexity reductions using Clifford algebras. In: Bayro-Corrochano, E., Scheuermann, G. (eds.) Geometric Algebra Computing for Engineering and Computer Science, pp. 431–453. Springer, Berlin (2010)

    Chapter  Google Scholar 

  6. Schott, R., Staples, G.S.: Reductions in computational complexity using Clifford algebras. Adv. Appl. Clifford Algebras 20, 121–140 (2010)

    Article  MathSciNet  MATH  Google Scholar 

  7. Tarjan, R.: Enumeration of the elementary circuits of a directed graph. SIAM J. Comput. 2, 211–216 (1973)

    Article  MathSciNet  MATH  Google Scholar 

  8. Valiant, L.: The complexity of computing the permanent. Theor. Comput. Sci. 8, 189–201 (1979)

    Article  MathSciNet  MATH  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to G. Stacey Staples .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2011 Springer-Verlag London Limited

About this chapter

Cite this chapter

Schott, R., Staples, G.S. (2011). On the Complexity of Cycle Enumeration for Simple Graphs. In: Dorst, L., Lasenby, J. (eds) Guide to Geometric Algebra in Practice. Springer, London. https://doi.org/10.1007/978-0-85729-811-9_12

Download citation

  • DOI: https://doi.org/10.1007/978-0-85729-811-9_12

  • Publisher Name: Springer, London

  • Print ISBN: 978-0-85729-810-2

  • Online ISBN: 978-0-85729-811-9

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics