length of the path. A path that begins and ends in the same vertex is a cycle or a loop. If a graph has no cycles, then we say that the graph is acyclic. Note that the graph defined in Example 5.20.1 is acyclic.
length of the path. A path that begins and ends in the same vertex is a cycleor a loop. If a graph has no cycles, then we say that the graph is acyclic. Notethat the graph defined in Example 5.20.1 is acyclic.