Conceptual
Login

Walks and Connected Components in a Graph

A walk in a graph is a sequence of vertices in which each consecutive pair is joined by an edge; a path is a walk that repeats no vertex. Two vertices are connected when some walk joins them, this relation partitions the vertex set into connected components, and a graph is connected when it has exactly one component. Covers tracing a walk between two vertices, deciding connectivity, and identifying the components of a small graph.