Question: ( 3 0 points ) ( Greedv technique ) Ali would like to go on a long holiday visiting number of cities in Turkex, He

(30 points)(Greedv technique) Ali would like to go on a long holiday visiting number of
cities in Turkex, He will start his joumex from Istanbul. The duration of journeys with a
bus between cities are given as below:
stanbul- Kuadas(5 hours)
Kuadas- Bodrum (2 hours)
stanbul- Eskiehir (3 hours)
Eskiehir- Nevehir (5 hours)
Bodrum- Mersin (12 hours)
Mersin- Antalya (7 hours)
Antalya- Nevehir (6 hours)
Mersin- Nevehir (3 hours)
Eskiehir-Mersin (7 hours)
stanbul-Mersin (9 hours)
Bodrum- Eskiehir (7 hours)
He needs to visit Kuadas, Bodrum, Eskiehir, Nevehir, Mersin, Antalya starting from
Istanbul.
Draw a Graph with vertices denoted bx cities, and the edges between cities are the
duration of bus trips mentioned above.
Draw the Minimum Spanning Tree
a. Using Prim's algorithm
b. Using Kruskal's algarithm
Show your steps,
Draw the single source shortest paths (starting from Istanbul) using Diikstra
Algorithm. Show your steps. Is the MST you have found the same as the single
source shortest path xou have found with Dijkstra?
 (30 points)(Greedv technique) Ali would like to go on a long

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!