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 · Glosario
¿Qué es Distance?
También llamado: distance (graph)
The distance is the smallest length of a path from to , counted in edges, and if is not reachable from .