Modify shortest_distances() and include shortest_path()
This implements a shortest_path() function which returns the shortest path between two vertices. This also modifies shortest_distances, such that a predecessor map is optionally returned.
Please register or sign in to comment