Function shortest path from node value to every other node in graph graph

graph

Format:

shortest path from node value to every other node in graph graph

Input:

list graph -
number value -

Output:

list - None

Properties that reference this function:

shortest path from node v to every other node in graph graph = output of the shortest_path function where the input graph is graph, backwards index is 0, and tree is [ node (v, 0, None), [ ] ] (compute shortest path begin)


Comments

Please log in to add comments