The distance from a vertex to a vertex is the length of a shortest path from to . If there is no such path, there is no distance.
Computer Science · Glossaire
Qu'est-ce que « Distance » ?
Aussi appelé : distance (graph)
The distance is the smallest length of a path from to , counted in edges, and if is not reachable from .