A path of length from to is a sequence of vertices where each is an edge (an arc in a directed graph). It is simple if its vertices are distinct. A cycle is a path of length at least 1 from a vertex to itself whose other vertices are distinct and distinct from it; in an undirected graph its length must be at least 3 and it uses no edge twice. is reachable from if there is a path from to .
书籍暂未推出简体中文版——当前显示英文版。
Computer Science · 术语表
什么是 Path, simple path, cycle?
又称: path (graph) · simple path · cycle (graph)