Add to find_cycles docstring describing the algorithm being used.
Are we using DFS? What's wrong running DFS on every vertex to find all the cycles the given vertex is in? It would make the code a lot cleaner if we just use DFS (http://codereview.stackexchange.com/a/78603)
Add to
find_cycles
docstring describing the algorithm being used.Are we using DFS? What's wrong running DFS on every vertex to find all the cycles the given vertex is in? It would make the code a lot cleaner if we just use DFS (http://codereview.stackexchange.com/a/78603)