Skip to main content
Log in

Algorithms to Compute Minimum Cycle Basis in Directed Graphs

  • Published:
Theory of Computing Systems Aims and scope Submit manuscript

Abstract

We consider the problem of computing a minimum cycle basis in a directed graph G with m arcs and n vertices. The arcs of G have non-negative weights assigned to them. In this problem a {-1,0,1} incidence vector is associated with each cycle and the vector space over \({\Bbb 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. This paper presents an \(\tilde{O}(m^4n)\) algorithm, which is the first polynomial-time algorithm for computing a minimum cycle basis in G. We then improve it to an \(\tilde{O}(m^4)\) algorithm. 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 \({\Bbb GF}(2)\) generated by these vectors is the cycle space of the graph. There are directed graphs in which the minimum cycle basis has lower weight than any cycle basis of the underlying undirected graph. Hence algorithms for computing a minimum cycle basis in an undirected graph cannot be used as black boxes to solve the problem in directed graphs.

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

Access this article

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

Instant access to the full article PDF.

Similar content being viewed by others

Author information

Authors and Affiliations

Authors

Corresponding authors

Correspondence to Telikepalli Kavitha or Kurt Mehlhorn.

Rights and permissions

Reprints and permissions

About this article

Cite this article

Kavitha, T., Mehlhorn, K. Algorithms to Compute Minimum Cycle Basis in Directed Graphs. Theory Comput Syst 40, 485–505 (2007). https://doi.org/10.1007/s00224-006-1319-6

Download citation

  • Issue Date:

  • DOI: https://doi.org/10.1007/s00224-006-1319-6

Keywords

Navigation