質問

Tarjan's strongly connected components algorithm can only find fundamental cycles or all cycles that are in the graph ?

役に立ちましたか?

解決

It cannot find all the cycles as long as it runs in O(V + E) (Polynomial time). If it could, it could solve hamiltonian cycle problem in polynomial time but this problem is NP-hard.

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top