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
Cycle (graph theory)
(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|Trail in which only the first and last vertices are equal.}} [[File:Graph cycle.svg|thumb|A graph with edges colored to illustrate a [[Path (graph theory)#Walk, trail, and path|closed walk]], HβAβBβAβH, in green; a circuit which is a closed walk in which all edges are distinct, BβDβEβFβDβCβB, in blue; and a cycle which is a closed walk in which all vertices are distinct, HβDβGβH, in red.]] In [[graph theory]], a '''cycle''' in a [[Graph (discrete mathematics)|graph]] is a non-empty [[Path (graph theory)#Walk, trail, and path|trail]] in which only the first and last [[Vertex (graph theory)|vertices]] are equal. A '''directed cycle''' in a [[directed graph]] is a non-empty [[Path (graph theory)#Directed walk, directed trail, and directed path|directed trail]] in which only the first and last vertices are equal. A graph without cycles is called an ''acyclic graph''. A directed graph without directed cycles is called a ''[[directed acyclic graph]]''. A [[connected graph]] without cycles is called a ''[[Tree (graph theory)|tree]]''.
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)