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
Length
(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!
=== Graph theory === In an [[unweighted graph]], the length of a [[Cycle (graph theory)|cycle]], [[Path (graph theory)|path]], or [[Walk (graph theory)|walk]] is the number of [[Edge (graph theory)|edge]]s it uses.<ref>{{Cite web|url=https://primes.utm.edu/graph/glossary.html|title=Graph Theory Glossary|last=Caldwell|first=Chris K.|date=1995}}</ref> In a [[weighted graph]], it may instead be the sum of the weights of the edges that it uses.<ref>{{Cite web|url=http://www.mathcs.emory.edu/~cheung/Courses/323/Syllabus/Graph/dijkstra1.html|title=Weighted graphs and path length|last=Cheung|first=Shun Yan}}</ref> Length is used to define the [[shortest path]], [[girth (graph theory)|girth]] (shortest cycle length), and [[longest path]] between two [[Vertex (graph theory)|vertices]] in a graph.
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)