Walk Terminology
Walk: Sequence of vertices/edges
Trail: Walk with distinct edges
Path: Walk with distinct vertices
Cycle: Closed path (≥3 vertices)
Distance Metrics
$d(u,v)$ = length of shortest path
$\text{diam}(G) = \max_{u,v} d(u,v)$
$\text{rad}(G) = \min_v \max_u d(u,v)$
Path Properties
Triangle inequality: $d(u,w) \leq d(u,v)+d(v,w)$
Symmetric: $d(u,v) = d(v,u)$
Cycle
Girth: Length of shortest cycle
Circumference: Longest cycle length