0

I saw this post, and it explains about why kosaraju's algorithm includes transpose graph $G^T$.

But, I totally didn't understand why cannot use increasing order of original graph. Kosaraju's algorithm uses decreasing order of transpose graph.

Is there an any counter example about this? I'm really confusing.

molamola
  • 353
  • 2
  • 4
  • 11
  • Something is wrong with your link. 2. Have you tried to construct a counterexample? Try enumerating a bunch of graphs with 3 or 4 or 5 vertices.
  • – D.W. May 23 '18 at 15:32
  • I edited my link and I tried to find counterexample by drawing the graph, but I cannot find... – molamola May 23 '18 at 23:03
  • 1
    Check https://cs.stackexchange.com/q/47298/755, https://cs.stackexchange.com/q/60503/755, https://cs.stackexchange.com/q/48625/755. Do any of those help? – D.W. May 23 '18 at 23:09
  • Thank you for your answer, but I have an exam 2 hours later, so I will check later. – molamola May 23 '18 at 23:11
  • 3
    Possible duplicate of Kosaraju's Algorithm-Strongly connected components, which contains the same answer below by K. Ali and whose accepted answer contains a counterexample. – John L. Feb 08 '19 at 08:06