Distance in a graph
Builds on WalkReachability
Definition
Let be a graph and let be vertices of . If is reachable from , the distance is the smallest length of a walk from to . If is not reachable from , then .
Remarks
A shortest walk is a path, so is also the smallest length of a path. Such a path is a geodesic. On a connected graph, is a metric: only for , it is symmetric, and it satisfies the triangle inequality.
Reading path
To understand this page from the ground up, read these 4 pages in order. The foundations come first.
Show the path as a graph
- no evidence level
- Graph definition
- Walk definition
- Reachability definition
- Distance in a graph definition
Further reading
About this page
| Tag | 0WPZ5YPAGR |
|---|---|
| URI | m2://0WPZ5YPAGR |
| Kind | definition |
| Writing | W1 stated |
| MSC | 05C12 |
| Defines | Distance in a graph |
| Uses | Walk, Reachability |
Markdown · JSON · Edit on GitHub
What this page needs for W2
- edge instance_of in: one example (0 of 1)
- edge not_instance_of in: one non-example that fails one clause (0 of 1)
The writing levels say how complete the text of a page is. They do not measure its truth.
What links here
No page links to this page yet.