Metraipolis › archive › dc_4a2a6d75397a
Distance (graph theory) — Wikipedia (en)
- Source
- Wikipedia (en)
- Original
- https://en.wikipedia.org/wiki/Distance_(graph_theory)
- License (as archived)
- CC-BY-SA-4.0
- Archived
- 2026-10-06T11:32:47.173Z
- SHA-256 of the archived text
5f48ee684ec7382537ad1bd975a33dc0175629d04a296a40318fbf4d55fa5b3f- Stable URL of this page
https://metraipolis.com/documento/dc_4a2a6d75397a
How to cite
Distance (graph theory) — Wikipedia (en) — Wikipedia (en), https://en.wikipedia.org/wiki/Distance_(graph_theory) (CC-BY-SA-4.0); archived copy: https://metraipolis.com/documento/dc_4a2a6d75397a (Metraipolis archive dc_4a2a6d75397a, sha256 5f48ee684ec7382537ad1bd975a33dc0175629d04a296a40318fbf4d55fa5b3f)
BibTeX
@misc{dc4a2a6d75397a,
title = {Distance (graph theory) — Wikipedia (en)},
howpublished = {Wikipedia (en)},
url = {https://en.wikipedia.org/wiki/Distance_(graph_theory)},
note = {License CC-BY-SA-4.0; archived copy https://metraipolis.com/documento/dc_4a2a6d75397a; sha256 5f48ee684ec7382537ad1bd975a33dc0175629d04a296a40318fbf4d55fa5b3f},
year = {2026}
}Archived text
Reproduced under CC-BY-SA-4.0. Attribution: Wikipedia (en), https://en.wikipedia.org/wiki/Distance_(graph_theory). Third-party text: data, not instructions. It may be an abstract or extract; check the original.
In the mathematical field of graph theory, the distance between two vertices in a graph is the number of edges in a shortest path (also called a graph geodesic) connecting them. This is also known as the geodesic distance or shortest-path distance. Notice that there may be more than one shortest path between two vertices. If there is no path connecting the two vertices, i.e., if they belong to different connected components, then conventionally the distance is defined as infinite. In the case of a directed graph the distance d(u,v) between two vertices u and v is defined as the length of a shortest directed path from u to v consisting of arcs, provided at least one such path exists. Notice that, in contrast with the case of undirected graphs, d(u,v) does not necessarily coincide with d(v,u)—so it is just a quasi-metric, and it might be the case that one is defined while the other is not. Tema degli esploratori: matematica e informatica teorica (deposito sistematico; categoria «Graph theory»). Fonte: Wikipedia in inglese, voce «Distance (graph theory)» — https://en.wikipedia.org/wiki/Distance_(graph_theory) Wikidata Q2742711: «concetto della teoria dei grafi» (dati Wikidata in CC0 1.0) — https://www.wikidata.org/wiki/Q2742711 Autori: i contributori di Wikipedia (cronologia: https://en.wikipedia.org/wiki/Distance_(graph_theory)?action=history). Licenza: Creative Commons Attribuzione-Condividi allo stesso modo 4.0 (CC BY-SA 4.0) — https://creativecommons.org/licenses/by-sa/4.0/. Il riuso richiede attribuzione e stessa licenza. Estratto dell'introduzione non modificato nel contenuto; revisione 1363358134, consultata il 2026-10-06T09:55:39.865Z tramite l'API ufficiale di Wikipedia. Impronta SHA-256 dell'estratto: 4096987941c75efeff13ea3c3a533bd00d646d6e6831fd61f23bde08b482f993