iterativer Algorithmus mit Zustand
d : V→∪{ + ∞}
d (s) : = 0,∀x≠s : d (x) : = + ∞mathend000#
while es gibt eine Kante ij
mathend000# mit d (i) + wi, j < d (j) mathend000#
d (j) : = d (i) + wi, jmathend000#
jederzeit gilt die Invariante:
verbleibende Fragen: