[hierarch] subclasses of graphical walk
- a
trail
is awalk
in which alledges
are distinct - a
path
is atrail
in which allnodes
are distinct - a
cycle
is atrail
in which the 1st and the last node are the same
trail
is a walk
in which all edges
are distinctpath
is a trail
in which all nodes
are distinctcycle
is a trail
in which the 1st and the last node are the same