by algo092 - Thursday, 28 May 2009 09:11:36
You can rely on the lemma that in the generic algorithm:
Lemma: if d(v) Not Equal To Infinity, then d(v) is a length of a path.
Lemma: if d(v) Not Equal To Infinity, then d(v) is a length of a path.
![[-]](/~ygleyzer/course.wiki/images/button-minus.gif)