Loading topic
u to vertex v and back again? This chapter sets out the vocabulary for that question. It covers directed graphs, paths, reachability, and the relation called mutual reachability, which splits a graph's vertices in6 min readadj[u] lists the vertices that u has edges to), and run a breadth-first or depth-first search from one vertex. It also builds on the previous chapter's notion of reachability: vertex v is reachable from 6 min readd[u] and finish time f[u] that DFS gives each vertex, which the previous chapter covered. Here we use those timestamps to sort every edge of a directed graph6 min readtarjan function from the previous chapter. You should also know DFS discovery order, the four edge types (tree, back, forward, cross), and what a strongly connected component (SCC) is. The goal is to explain why the test low[v] == index[v]6 min readkosaraju function labels components in a topological order of the condensation. It also ass6 min read