Algorithm 2016 Fall Homework 4
Algorithm 2016 Fall Homework 4
Homework 4
1. Modify FASTER-ALL-PAIRS-SHORTEST-PATHS so that it can detect the
presence of a negative-weight cycle. (10%)
8. Can any shortest-path length from the new node, node 0, in the augmented
constraint graph, be positive? Explain. (10%)