a) Find the shortest paths from r to all other nodes in the digraph G=(V,E) shown below using the Bellman-Ford algorithm (as taught in class). Please show your work, and draw the final shortest dipath tree on a copy of a diagram of the digraph.
b) Using the potential y found in a), find a new set of costs c* for G which are non-negative, and preserve shortest dipaths.