Tarjan's strongly connected components algorithm: Difference between revisions

Content deleted Content added
Tag: Reverted
Undid revision 1039406073 by 185.240.11.237 (talk)
Line 59:
strongconnect(''w'')
''v''.lowlink := min(''v''.lowlink, ''w''.lowlink)
'''else if''' ''w''.onStack '''and''' ''w''.index is not undefined '''then'''
''// Successor w is in stack S and hence in the current SCC''
''// If ''w'' is not on stack, then (''v'', ''w'') is an edge pointing to an SCC already found and must be ignored