COP 4531: Lecture 26

Learning objectives

After this class, you should be able to:

  1. Give the recurrence on which the the Floyd-Warshall all-pairs shortest path algorithm is based, and justify it.
  2. Given a weighted graph without negative weight cycles, show how the Floyd-Warshall algorithm computes the shortest path between all pairs of vertices.
  3. Use the idea behind the Floyd-Warshall algorithm to solve related problems.

Reading assignment

  1. CLR: Section 25.2.
  2. None. Prepare for the final exam.

Exercises and review questions


Last modified: 18 Apr 2007