Tarjan's strongly connected components algorithm: Difference between revisions

Content deleted Content added
explain the difference between lowpoint and lowlink
Tag: Reverted
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