SLIDE 1
Single Source Shortest Path
A directed graph G = (V, E) and a pair of nodes s, d is given. The edges have a real-valued weight Wi. This time we are looking for the weight and the shortest path from s to d.
- The weight of the shortest path from s to d is called δ(s, d).
- We still have the property that a shortest path between u and
v contains shortest path between intermediate nodes.
- The shortest path between s and d might not be defined if the
graph contains cycles with negative weight.
- A shortest path can not contain s positive weight cycle. Hence,
path length is at most n − 1.
SSSP 1