Descendant in a directed graph
ID: descendant-in-a-directed-graph
A vertex is a descendant of in a directed graph when a directed path leads from to . Under the reflexive convention, a length-zero path makes its own descendant; a strict-descendant convention excludes that case and must be stated. An ancestor reverses this reachability relation.
For , the descendants of are under the reflexive convention, while is not a descendant of . In a directed cycle, distinct vertices can each be descendants of the other. Thus descendant reachability is transitive and reflexive but need not be antisymmetric.
In a directed acyclic graph, mutual reachability forces equality, so reachability defines a partial order. This makes descendant sets useful in dependency and causal graphs, while the graph alone still needs a specified interpretation before an arrow denotes causation.
New to topics? Read the docs here!