Notes from Week 9 Lecture 2 on Graphs
Properties of parent edges
- They form a tree (shortest path tree)
- There are no cycles β all nodes visited only once
- Parent edges are always shortest paths from starting node
s - For now, all edges have weight/distance 1