Zhaolu

Zhao Lü

code · read · fitness

Posts
Portfolio
Photos
Teach
Travels
Talks & Patents

Recent Posts

  • Fire Detection: Heat, RGB, and a Viral BBQ Sign 2026-11-29
  • JavaFX click circles, events, and properties 2026-11-28
  • CMCC box for media streaming 2026-11-26
Read more posts →
CS Glossary / Path (graph theory)

Path (graph theory)

Also known as: Graph path, Walk (simple)

A path is a sequence of distinct vertices joined by successive edges/arcs. The length of a path is the number of links or the sum of weights.

A shortest path minimises that length between two nodes. Closed path with no repeated vertices except start/end ⇒ cycle.

Related terms

  • Shortest path
  • Cycle
  • Connected graph
  • Graph
  • Directed graph

← Back to CS Glossary