Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
Directed acyclic graph
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
{{short description|Directed graph with no directed cycles}} {{good article}} {{CS1 config|mode=cs2}} [[File:Tred-G.svg|thumb|Example of a directed acyclic graph]] In [[mathematics]], particularly [[graph theory]], and [[computer science]], a '''directed acyclic graph''' ('''DAG''') is a [[directed graph]] with no [[Cycle graph#Directed cycle graph|directed cycles]]. That is, it consists of [[Vertex (graph theory)|vertices]] and [[edge (graph theory)|edges]] (also called ''arcs''), with each edge directed from one vertex to another, such that following those directions will never form a closed loop. A directed graph is a DAG if and only if it can be [[topological ordering|topologically ordered]], by arranging the vertices as a linear ordering that is consistent with all edge directions. DAGs have numerous scientific and computational applications, ranging from biology (evolution, family trees, epidemiology) to information science (citation networks) to computation (scheduling). Directed acyclic graphs are also called '''acyclic directed graphs'''<ref name="thul"/> or '''acyclic digraphs'''.<ref name="bang"/>
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)