{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,8,21]],"date-time":"2026-08-21T18:39:44Z","timestamp":1787337584127,"version":"build-2736575974"},"reference-count":23,"publisher":"Society for Industrial & Applied Mathematics (SIAM)","issue":"4","content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":["SIAM J. Comput."],"published-print":{"date-parts":[[2008,1]]},"abstract":"<jats:p>We consider the problem of computing a minimum cycle basis in a directed graph. The input to this problem is a directed graph G whose edges have nonnegative weights. A cycle in this graph is actually a cycle in the underlying undirected graph with edges traversable in both directions. A $\\{-1,0,1\\}$ edge incidence vector is associated with each cycle: edges traversed by the cycle in the right direction get 1 and edges traversed in the opposite direction get $-1$. 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 this vector space. We seek a cycle basis where the sum of weights of the cycles is minimum. The current fastest algorithm for computing a minimum cycle basis in a directed graph with m edges and n vertices runs in $\\tilde{O}(m^{\\omega+1}n)$ time, where $\\omega &lt; 2.376$ is the exponent of matrix multiplication. We present an $O(m^3n+m^2n^2\\log n)$ algorithm. We obtain our algorithm by using fast matrix multiplication over rings and an efficient extension of Dijkstra's algorithm to compute a shortest cycle in G whose dot product with a function on its edge set is nonzero. We also present a simple $O(m^2n+mn^2\\log n)$ Monte Carlo algorithm. The problem of computing a minimum cycle basis in an undirected graph has been well studied. In this problem a $\\{0,1\\}$ edge incidence vector is associated with each cycle and the vector space over $\\mathbb{Z}_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^2n + mn^2\\log n)$ time and our randomized algorithm for directed graphs matches this running time.<\/jats:p>","DOI":"10.1137\/060670730","type":"journal-article","created":{"date-parts":[[2008,9,8]],"date-time":"2008-09-08T18:28:46Z","timestamp":1220898526000},"page":"1430-1447","source":"Crossref","is-referenced-by-count":6,"title":["Faster Algorithms for Minimum Cycle Basis in Directed Graphs"],"prefix":"10.1137","volume":"38","author":[{"given":"Ramesh","family":"Hariharan","sequence":"first","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Telikepalli","family":"Kavitha","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Kurt","family":"Mehlhorn","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"351","published-online":{"date-parts":[[2008,9,8]]},"reference":[{"key":"R1","unstructured":"T. M. Apostol,\n                      Introduction to Analytic Number Theory\n                      , Springer-Verlag, New York, 1997."},{"key":"R2","unstructured":"C. Berge,\n                      Graphs\n                      , North\u2013Holland, Amsterdam, The Netherlands, 1985."},{"key":"R3","doi-asserted-by":"publisher","DOI":"10.1007\/s00453-004-1098-x"},{"key":"R4","doi-asserted-by":"crossref","unstructured":"B. Bollob\u00e1s,\n                      Modern Graph Theory\n                      , in Graduate Texts in Mathematics 184, Springer-Verlag, New York, 1998.","DOI":"10.1007\/978-1-4612-0619-4"},{"key":"R5","doi-asserted-by":"publisher","DOI":"10.1098\/rspa.1976.0095"},{"key":"R6","doi-asserted-by":"publisher","DOI":"10.1137\/0607059"},{"key":"R7","doi-asserted-by":"publisher","DOI":"10.1137\/0608045"},{"key":"R8","doi-asserted-by":"publisher","DOI":"10.1016\/S0747-7171(08)80013-2"},{"key":"R9","unstructured":"J. C. de Pina,\n                      Applications of Shortest Path Methods\n                      , Ph.D. thesis, University of Amsterdam, Amsterdam, The Netherlands, 1995."},{"key":"R10","unstructured":"N. Deo,\n                      Graph Theory with Applications to Engineering and Computer Science\n                      , Prentice-Hall Series in Automatic Computation, Prentice-Hall, Englewood Cliffs, NJ, 1982."},{"key":"R11","unstructured":"P. M. Gleiss,\n                      Short Cycles: Minimum Cycle Bases of Graphs from Chemistry and Biochemistry\n                      , Ph.D. thesis, Universit\u00e4t Wien, Wein, Germany, 2001."},{"key":"R12","doi-asserted-by":"publisher","DOI":"10.7151\/dmgt.1200"},{"key":"R13","doi-asserted-by":"crossref","unstructured":"A. Golynski and J. D. Horton,\n                      A polynomial time algorithm to find the minimum cycle basis of a regular matroid\n                      , in Proceedings of SWAT, Lecture Notes in Comput. Sci. 2368, Springer, Berlin, 2002, pp. 200\u2013209.","DOI":"10.1007\/3-540-45471-3_21"},{"key":"R14","doi-asserted-by":"crossref","unstructured":"R. Hariharan, T. Kavitha, and K. Mehlhorn,\n                      A faster deterministic algorithm for minimum cycle basis in directed graphs\n                      , in Proceedings of ICALP, Lecture Notes in Comput. Sci. 4051, Springer, Berlin, 2006, pp. 250\u2013261.","DOI":"10.1007\/11786986_23"},{"key":"R15","doi-asserted-by":"publisher","DOI":"10.1137\/0216026"},{"key":"R16","doi-asserted-by":"crossref","unstructured":"T. Kavitha,\n                      An $\\tilde{O}(m^2n)$ randomized algorithm to compute a minimum cycle basis of a directed graph\n                      , in Proceedings of ICALP, Lecture Notes in Comput. Sci. 3580, Springer, Berlin, 2005, pp. 273\u2013284.","DOI":"10.1007\/11523468_23"},{"key":"R17","doi-asserted-by":"publisher","DOI":"10.1007\/s00224-006-1319-6"},{"key":"R18","doi-asserted-by":"crossref","unstructured":"T. Kavitha, K. Mehlhorn, D. Michail, and K. Paluch,\n                      A faster algorithm for minimum cycle bases of graphs\n                      , in Proceedings of ICALP, Lecture Notes in Comput. Sci. 3142, Springer, Berlin, 2004, pp. 846\u2013857.","DOI":"10.1007\/978-3-540-27836-8_71"},{"key":"R19","doi-asserted-by":"publisher","DOI":"10.37236\/1354"},{"key":"R20","doi-asserted-by":"crossref","unstructured":"C. Liebchen,\n                      Finding short integral cycle bases for cyclic timetabling\n                      , in Proceedings of ESA, Lecture Notes in Comput. Sci. 2832, 2003, pp. 715\u2013726.","DOI":"10.1007\/978-3-540-39658-1_64"},{"key":"R21","unstructured":"C. Liebchen and L. Peeters,\n                      On Cyclic Timetabling and Cycles in Graphs\n                      , Technical report 761\/2002, TU Berlin, Berlin, Germany."},{"key":"R22","doi-asserted-by":"publisher","DOI":"10.1016\/j.ipl.2005.01.006"},{"key":"R23","doi-asserted-by":"publisher","DOI":"10.1016\/j.cag.2006.08.019"}],"container-title":["SIAM Journal on Computing"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/epubs.siam.org\/doi\/pdf\/10.1137\/060670730","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2026,8,21]],"date-time":"2026-08-21T18:19:08Z","timestamp":1787336348000},"score":1,"resource":{"primary":{"URL":"https:\/\/epubs.siam.org\/doi\/10.1137\/060670730"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2008,1]]},"references-count":23,"journal-issue":{"issue":"4","published-print":{"date-parts":[[2008,1]]}},"alternative-id":["10.1137\/060670730"],"URL":"https:\/\/doi.org\/10.1137\/060670730","relation":{},"ISSN":["0097-5397","1095-7111"],"issn-type":[{"value":"0097-5397","type":"print"},{"value":"1095-7111","type":"electronic"}],"subject":[],"published":{"date-parts":[[2008,1]]}}}