Lesson 24: Graph ADT and Shortest Paths
Outline:
- Questions?
- Graphs
- motivation
- properties
- Graph ADT
- Adjacency lists: example code
- Shortest path via BFS
- algorithm
- traversal: example code
- Wrap-up
What’s next
- Assignments 4 and 5 will be finalized tonight at 10pm
- Assignment 7 is online now
- Assignment 8 will be posted by Wednesday
What you should do now:
- The readings (see below)
- Complete Assignment 7
- Email Tanya if you’re using a token to resubmit Assignment 4
- Finish any last resubmissions (via token for A4, free for A5) for Assignments 4 and 5
Reading assignment (to be completed by the next class):
Graphs and BFS (from today):
Graphs and DFS (for next time):