Content deleted Content added
Line 11:
The algorithm in [[pseudocode]]
The algorithm in [[pseudocode]]
Set the depth index for v v.lowlink = index index = index + 1 S.push(v)
Consider successors of v if (v'.index is undefined) // ▼
Recurse v.lowlink = min(v.lowlink, v'.lowlink) elseif (v' in S) // ▼
Was successor v' visited? tarjan(v')
Is v' on the stack? v.lowlink = min(v.lowlink, v'.lowlink) if (v.lowlink == v.index) // ▼
Is v the root of an SCC? print "SCC:" repeat v' = S.pop print v' until (v' == v)</span> == L'algorithme de [[pseudocode]]▼
▲Is v the root of an SCC? print "SCC:" repeat v' = S.pop print v' until (v' == v)
== Remarks ==
|