ece250: add dags
This commit is contained in:
parent
f9a2115408
commit
90df8ccf04
@ -158,3 +158,7 @@ fn sort(A: Vec) {
|
||||
- A **connected graph** is such that there exists a path from any node in the graph to any other node.
|
||||
- A **connected component** is a subgraph such that there exists a path from any node in the subgraph to any other node in the subgraph.
|
||||
- A **tree** is a connected graph without cycles.
|
||||
|
||||
### Directed acyclic graphs
|
||||
|
||||
a DAG is acyclic if and only if there are no **back edges** — edges from a child to an ancestor.
|
||||
|
Loading…
Reference in New Issue
Block a user