Question: In a network G we associate two numbers with each arc; its length Cij and its traversal time tij. G cannot be topologically sorted.
In a network G we associate two numbers with each arc; its length Cij and its traversal time tij. G cannot be topologically sorted. We would like to determine a shortest path from the source node s to the sink node t with the additional constraint that the traversal time of the path does not exceed 7. How would you solve this problem using the algorithm developed for constrained shortest paths on topologically sorted networks? (Hint: Formulate as a shortest path problem on a different graph G', where represents G expanded in time.) Q
Step by Step Solution
3.28 Rating (151 Votes )
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
