Tarjan's strongly connected components algorithm: Difference between revisions

Content deleted Content added
m Links: wikify
Line 28:
tarjan(v') // Recurse
v.lowlink = min(v.lowlink, v'.lowlink)
elifelse if (v' is in S) // Was successor v' in stack S?
v.lowlink = min(v.lowlink, v'.index)
if (v.lowlink == v.index) // Is v the root of an SCC?