Finding all cycles in graph

Posted by nexeww on Stack Overflow See other posts from Stack Overflow or by nexeww
Published on 2009-02-13T16:40:27Z Indexed on 2010/05/08 15:58 UTC
Read the original article Hit count: 395

Filed under:
|
|
|

How can I find (iterate over) ALL the cycles in a directed graph from/to a given node?

For example, I want something like this:

A->B->A
A->B->C->A

but not: B->C->B

© Stack Overflow or respective owner

Related posts about graph-theory

Related posts about graph