Question: Use Dijkstra's algorithm to construct a graph that has 3^n shortest paths between a source vertex x and a sink vertex y, where the number

Use Dijkstra's algorithm to construct a graph that has 3^n shortest paths between a source vertex "x" and a sink vertex "y", where the number of vertices is a function of the form an + b for some natural number a,b. More precisely we need to prove: For every natural number n, there is an undirected graph of an + b vertices such that for some pair of vertices x, y in the graph, there are 3^n shortest paths from x to y.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!