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
Path (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|Sequence of edges which join a sequence of nodes on a given graph}} {{For|the family of graphs known as paths|Path graph}} [[File:Snake-in-the-box and Hamiltonian path.svg|thumb|right|A three-dimensional [[hypercube graph]] showing a [[Hamiltonian path]] in red, and a [[Snake-in-the-box|longest induced path]] in bold black]] In [[graph theory]], a '''path''' in a [[Graph (discrete mathematics)|graph]] is a finite or infinite [[sequence]] of [[Edge (graph theory)|edges]] which joins a sequence of [[Vertex (graph theory)|vertices]] which, by most definitions, are all distinct (and since the vertices are distinct, so are the edges). A '''directed path''' (sometimes called '''dipath'''{{sfn|McCuaig|1992|p=205}}) in a [[directed graph]] is a finite or infinite sequence of edges which joins a sequence of distinct vertices, but with the added restriction that the edges be all directed in the same direction. Paths are fundamental concepts of graph theory, described in the introductory sections of most graph theory texts. See e.g. {{harvtxt|Bondy|Murty|1976}}, {{harvtxt|Gibbons|1985}}, or {{harvtxt|Diestel|2005}}. {{harvtxt|Korte|Lovász|Prömel|Schrijver|1990}} cover more advanced [[algorithm]]ic topics concerning paths in graphs.
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)