COP 4531: Lecture 23
Learning objectives
After this class, you should be able to:
- Given a graph, show the minimum spanning trees returned by Kruskal's and Prim's algorithms.
- Prove the correctness of the above algorithms, and derive their time complexities.
- Write a program implementing the above algorithms.
- Given alternate algorithms for determining the minimum spanning tree, or for similar problems, prove their correctness or disprove them.
Reading assignment
- CLR: Chapter 23.
- CLR: Chapter 24, page 580.
Exercises and review questions
- Questions on current lecture's material
- Exercise 23.2-3.
- Problem 23-4 (a).
- Questions on next lecture's material
- (Post your solution on the discussion board) Give a weighted graph with five vertices, and give the length of the shortest path between the first vertex and all other vertices.