Open petrasvestartas opened 5 years ago
What do you exactly meen? For example, you can find all strongly connected components in directed graph. Each Scc is a composition of cycles. Or you can use dfs for explicit enumeration of all cycles.
I am search for an algorithm that can compute chordless cycles in undirected graph: https://en.wikipedia.org/wiki/Cycle_(graph_theory)#Chordless_cycles
How can I detect all cycles in a graph?