weights presented on the graph to your Kean ID digits. For example, if the first digit of your Kean ID is , the weight between vertices 0 and 1 is 1, if the second digit of your Kean ID is 2, the weight etween vertices 0 and 3 is 2, if the third digit of your Kean ID is 3, the weight on edge between ertices 0 and 4 is 3, if the forth digit of your Kean ID is 4 the weight on edge between vertices 1 and 2 = 4, etc. 4 3 7 3 3 1 2 2 ubmission: You take an empty paper, write your name and perform on the paper the following: draw your Graph twice as described in the assignment, state which graph is created for what Igorithm. ) state the Source vertex for Prim's algorithm (pick up vertex 0) and display initial distance from source o each vertex that can be added to the MST, explain which vertex was added and why ) draw a tree for the Prim algorithm and Kruskal algorithm (include only edges you included in the tree) nd state the final cost of the MST (the minimum total cost)

Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
icon
Related questions
Question
Perform Prim' and Kruskal's algorithms on the following graph modified this way: Change current
weights presented on the graph to your Kean ID digits. For example, if the first digit of your Kean ID is
1, the weight between vertices 0 and 1 is 1, if the second digit of your Kean ID is 2, the weight
between vertices 0 and 3 is 2, if the third digit of your Kean ID is 3, the weight on edge between
vertices 0 and 4 is 3, if the forth digit of your Kean ID is 4 the weight on edge between vertices 1 and 2
is 4, etc.
7
3
3
1
Submission: You take an empty paper, write your name and perform on the paper the following:
a) draw your Graph twice as described in the assignment, state which graph is created for what
algorithm.
b) state the Source vertex for Prim's algorithm (pick up vertex 0) and display initial distance from source
to each vertex that can be added to the MST, explain which vertex was added and why
c) draw a tree for the Prim algorithm and Kruskal algorithm (include only edges you included in the tree)
and state the final cost of the MST (the minimum total cost)
Transcribed Image Text:Perform Prim' and Kruskal's algorithms on the following graph modified this way: Change current weights presented on the graph to your Kean ID digits. For example, if the first digit of your Kean ID is 1, the weight between vertices 0 and 1 is 1, if the second digit of your Kean ID is 2, the weight between vertices 0 and 3 is 2, if the third digit of your Kean ID is 3, the weight on edge between vertices 0 and 4 is 3, if the forth digit of your Kean ID is 4 the weight on edge between vertices 1 and 2 is 4, etc. 7 3 3 1 Submission: You take an empty paper, write your name and perform on the paper the following: a) draw your Graph twice as described in the assignment, state which graph is created for what algorithm. b) state the Source vertex for Prim's algorithm (pick up vertex 0) and display initial distance from source to each vertex that can be added to the MST, explain which vertex was added and why c) draw a tree for the Prim algorithm and Kruskal algorithm (include only edges you included in the tree) and state the final cost of the MST (the minimum total cost)
Expert Solution
steps

Step by step

Solved in 6 steps with 5 images

Blurred answer
Knowledge Booster
Single source shortest path
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Database System Concepts
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education