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 · 术语表
什么是 Distance?
又称: distance (graph)
The distance is the smallest length of a path from to , counted in edges, and if is not reachable from .