From charlesreid1

 
(One intermediate revision by the same user not shown)
Line 5: Line 5:
For notes on detecting cycles, see [[Graphs/Cycles]]. (Use depth first search - see [[Graphs/DFS]]).
For notes on detecting cycles, see [[Graphs/Cycles]]. (Use depth first search - see [[Graphs/DFS]]).


Trees are directed acyclic graphs.
Examples of DAGs:
* All trees are DAGs (see [[Trees]])
* All git repositories are DAGs


=Flags=
=Flags=

Latest revision as of 20:19, 11 October 2017

Notes

A directed acyclic graph is a directed graph that does not contain cycles.

For notes on detecting cycles, see Graphs/Cycles. (Use depth first search - see Graphs/DFS).

Examples of DAGs:

  • All trees are DAGs (see Trees)
  • All git repositories are DAGs

Flags