tags:

views:

113

answers:

1

I am interested in finding the total number of cycles and cycles length in an connected undirected graph. If I can use DFS or DFS can only find a single cycle. Any code will definitely help ......

Thanks!

Hassu

A: 

Take a look at the following reference:

https://www.me.utexas.edu/~bard/IP/Handouts/cycles.pdf

Brandon E Taylor
Exactly what I posted. I didn't get a new post notification in time, sorry.
colithium