You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
function returns a list with two sublists of <M>n</M> entries, where each entry is
912
912
either a non-negative integer, or <K>fail</K>. <P/>
913
913
914
-
If there is a directed path from <A>source</A> to vertex <C>i</C>, then
915
-
the value of the entry i in the first sublist is the length of the shortest such directed
916
-
path and the entry i in the second sublist is the vertex preceding the vertex of that entry. If no such directed path exists, then the value of i is <C>fail</C>. We use the convention that the distance from every vertex to
914
+
If there is a directed path from <A>source</A> to vertex <C>i</C>, then for each i-th entry the first sublist contains
915
+
the length of the shortest directed path to that i-th vertex and second sublist contains the vertex preceding that i-th
916
+
vertex. If no such directed path exists, then the value of i is <C>fail</C>.
917
+
We use the convention that the distance from every vertex to
0 commit comments