Shortest-path tree
Dependencies:
For a graph $G = (V, E)$, a shortest-path tree $T = (V', E')$ with source $s \in V$ is a directed subgraph of $G$ satisfying all these properties:
- $v \in V' \iff \delta(s, v) \neq \infty$
- $T$ is a tree rooted at $s$.
- $\forall v \in V'$, the unique path from $s$ to $v$ in $T$ is a shortest path from $s$ to $v$ in $G$.
Dependency for:
- Breadth-first search
- Edge relaxations: Predecessor subgraph is a shortest-path tree after convergence
Info:
- Depth: 3
- Number of transitive dependencies: 6
Transitive dependencies:
- /sets-and-relations/equivalence-classes
- /sets-and-relations/relation-composition-is-associative
- /sets-and-relations/equivalence-relation
- Graph
- Path in Graph
- Rooted tree