Lecture 28

Learning objectives

After this class, you should be able to:

  1. Given a directed graph with non-negative weights on its edges and a starting vertex, show all steps in Dijkstra's algorithm for finding the shortest path from the starting vertex to all other vertices.
  2. Give the time complexity for Dijkstra's algorithm and give implementation details that will enable the algorithm to run with that time complexity.

Reading assignment

  1. Chapter 8, section 8.2 -- only Dijkstra's algorithm.

Exercises and review questions


Last modified: 16 Apr 2009