Skip to main content

An Õ(m 2 n) Randomized Algorithm to Compute a Minimum Cycle Basis of a Directed Graph

  • Conference paper
Automata, Languages and Programming (ICALP 2005)

Part of the book series: Lecture Notes in Computer Science ((LNTCS,volume 3580))

Included in the following conference series:

Abstract

We consider the problem of computing a minimum cycle basis in a directed graph G. The input to this problem is a directed graph whose arcs have positive weights. In this problem a {–1,0,1} incidence vector is associated with each cycle and the vector space over \({\mathbb Q}\) generated by these vectors is the cycle space of G. A set of cycles is called a cycle basis of G if it forms a basis for its cycle space. A cycle basis where the sum of weights of the cycles is minimum is called a minimum cycle basis of G. The current fastest algorithm for computing a minimum cycle basis in a directed graph with m arcs and n vertices runs in \(\tilde{O}(m{^{\omega+1}}n)\) time (where ω < 2.376 is the exponent of matrix multiplication). If one allows randomization, then an Õ(m 3 n) algorithm is known for this problem. In this paper we present a simple Õ(m 2 n) randomized algorithm for this problem.

The problem of computing a minimum cycle basis in an undirected graph has been well-studied. In this problem a {0,1} incidence vector is associated with each cycle and the vector space over \({\mathbb F}_{2}\) generated by these vectors is the cycle space of the graph. The fastest known algorithm for computing a minimum cycle basis in an undirected graph runs in O(m 2 n + mn 2log n) time and our randomized algorithm for directed graphs almost matches this running time.

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

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. Apostol, T.M.: Introduction to Analytic Number Theory. Springer, Heidelberg (1997)

    Google Scholar 

  2. Berger, F., Gritzmann, P., de Vries, S.: Minimum Cycle Bases for Network Graphs. Algorithmica 40(1), 51–62 (2004)

    Article  MATH  MathSciNet  Google Scholar 

  3. Bollobás, B.: Modern Graph Theory. Graduate Texts in Mathematics, vol. 184. Springer, Berlin (1998)

    MATH  Google Scholar 

  4. Cassell, A.C., Henderson, J.C., Ramachandran, K.: Cycle bases of minimal measure for the structural analysis of skeletal structures by the flexibility method. Proc. Royal Society of London Series A 350, 61–70 (1976)

    Article  MATH  Google Scholar 

  5. de Pina, J.C.: Applications of Shortest Path Methods. PhD thesis, University of Amsterdam, Netherlands (1995)

    Google Scholar 

  6. Deo, N.: Graph Theory with Applications to Engineering and Computer Science. Prentice-Hall Series in Automatic Computation. Prentice-Hall, Englewood Cliffs (1982)

    Google Scholar 

  7. Gleiss, P.M.: Short cycles: minimum cycle bases of graphs from chemistry and biochemistry. PhD thesis, Universität Wien (2001)

    Google Scholar 

  8. Golynski, A., Horton, J.D.: A polynomial time algorithm to find the minimum cycle basis of a regular matroid. In: 8th Scandinavian Workshop on Algorithm Theory (2002)

    Google Scholar 

  9. Horton, J.D.: A polynomial-time algorithm to find a shortest cycle basis of a graph. SIAM Journal of Computing 16, 359–366 (1987)

    Article  MathSciNet  Google Scholar 

  10. Kavitha, T., Mehlhorn, K.: A Polynomial Time Algorithm for Minimum Cycle Basis in Directed Graphs. In: Diekert, V., Durand, B. (eds.) STACS 2005. LNCS, vol. 3404, pp. 654–665. Springer, Heidelberg (2005)

    Chapter  Google Scholar 

  11. Kavitha, T., Mehlhorn, K., Michail, D., Paluch, K.: A faster algorithm for Minimum Cycle Basis of graphs. In: Díaz, J., Karhumäki, J., Lepistö, A., Sannella, D. (eds.) ICALP 2004. LNCS, vol. 3142, pp. 846–857. Springer, Heidelberg (2004)

    Chapter  Google Scholar 

  12. Liebchen, C.: Finding Short Integral Cycle Bases for Cyclic Timetabling. In: Di Battista, G., Zwick, U. (eds.) ESA 2003. LNCS, vol. 2832, pp. 715–726. Springer, Heidelberg (2003)

    Chapter  Google Scholar 

  13. Liebchen, C., Peeters, L.: On Cyclic Timetabling and Cycles in Graphs. Technical Report 761/2002, TU Berlin

    Google Scholar 

  14. Liebchen, C., Rizzi, R.: A Greedy Approach to compute a Minimum Cycle Basis of a Directed Graph. Technical Report 2004/31, TU Berlin

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2005 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Kavitha, T. (2005). An Õ(m 2 n) Randomized Algorithm to Compute a Minimum Cycle Basis of a Directed Graph. In: Caires, L., Italiano, G.F., Monteiro, L., Palamidessi, C., Yung, M. (eds) Automata, Languages and Programming. ICALP 2005. Lecture Notes in Computer Science, vol 3580. Springer, Berlin, Heidelberg. https://doi.org/10.1007/11523468_23

Download citation

  • DOI: https://doi.org/10.1007/11523468_23

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-27580-0

  • Online ISBN: 978-3-540-31691-6

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics