[prev] 39 [next]

Directed Graphs (Digraphs) (cont)

Terminology for digraphs ...

Directed path:   list of n ≥ 2 vertices v1, v2, ... vn

  • where (vi,vi+1) ∈ edges(G) for all (vi,vi+1) in list
  • if v1 = vn, we have a directed cycle
Degree of vertex:   d(v) = number of edges like (v, _)

Indegree of vertex: d-1(v) = number of edges like (_, v)

Reachability:   w is reachable from v if directed path v,...,w

Strong connectivity:   every vertex is reachable from every other vertex

Directed acyclic graph (DAG):   graph containing no directed cycles