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 · Begrippenlijst
Wat is Distance?
Ook bekend als: distance (graph)
The distance is the smallest length of a path from to , counted in edges, and if is not reachable from .