pith. sign in

arxiv: 1205.2766 · v2 · pith:TJC74CKMnew · submitted 2012-05-12 · 💻 cs.DS

Optimal Listing of Cycles and st-Paths in Undirected Graphs

classification 💻 cs.DS
keywords cycleslistingalgorithmgraphoptimalproblemtimeundirected
0
0 comments X
read the original abstract

We present the first optimal algorithm for the classical problem of listing all the cycles in an undirected graph. We exploit their properties so that the total cost is the time taken to read the input graph plus the time to list the output, namely, the edges in each of the cycles. The algorithm uses a reduction to the problem of listing all the paths from a vertex s to a vertex t which we also solve optimally.

This paper has not been read by Pith yet.

discussion (0)

Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.