Bellman–Ford algorithm: Difference between revisions

Content deleted Content added
Change link to the correct (iterative) interpretation of relaxation
Line 46:
predecessor[v] := '''null'''
// The distance from the source to itself is, of course, zero
distance[source] := 0