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 · Glosario
¿Qué es Path, simple path, cycle?
También llamado: path (graph) · simple path · cycle (graph)