Home › Glossary › Data › Graph traversal

Intermediate · Data

Graph traversal

Visual diagram · (in preparation) · Math · (in preparation) · Worked example · 3 difficulty levels.

TL;DR. The process of systematically visiting each node in a graph, often used in algorithms for searching or mapping networks.

Technical Definition

The process of systematically visiting each node in a graph, often used in algorithms for searching or mapping networks.

How it works

Graph traversal involves visiting every node in a graph in a defined order, such as breadth-first or depth-first. This technique is fundamental for exploring and processing graph data structures.

Related Concepts

  • Algorithm — A finite, well-defined sequence of steps used to learn from data or solve a computational problem.
  • Graph (abstract data type) — An abstract data type representing a network of nodes connected by edges, used to model relationships between objects.

Further Reading

  • Wikipedia — Glossary of AI