COP 4531: Lecture 26
Learning objectives
After this class, you should be able to:
- Give the recurrence on which the the Floyd-Warshall all-pairs shortest path algorithm is based, and justify it.
- Given a weighted graph without negative weight cycles, show how the Floyd-Warshall algorithm computes the shortest path between all pairs of vertices.
- Use the idea behind the Floyd-Warshall algorithm to solve related problems.
Reading assignment
- CLR: Section 25.2.
- None. Prepare for the final exam.
Exercises and review questions
- Questions on current lecture's material
- Exercise 25.2-1.
- Exercise 25.2-6.
- Questions on next lecture's material
- None.