Routes

Graph theory on a road network: Dijkstra's shortest path from A to B with real alternatives, a minimum spanning tree, or Euler's one round of every road.

Routes: Graph theory on a road network: Dijkstra's shortest path from A to B with real alternatives, a minimum spanning tree, or Euler's one round of every road.Routes: Graph theory on a road network: Dijkstra's shortest path from A to B with real alternatives, a minimum spanning tree, or Euler's one round of every road.

About this pattern

Graph theory: Dijkstra's shortest path (1956), Borůvka's spanning tree (1926) and Euler's bridges of Königsberg (1736)

Routes, graph theory, drawn by GART: Graph theory on a road network: Dijkstra's shortest path from A to B with real alternatives, a minimum spanning tree, or Euler's one round of every road.
Routes · CC BY 4.0

Graph theory studies networks as nodes joined by edges, and it began with a walk. Königsberg's townspeople asked whether anyone could cross each of the Seven Bridges of Königsberg exactly once, and in 1736 Leonhard Euler showed why not: a walk over every edge once, an Eulerian path, must leave each node as often as it arrives, so every node needs an even number of edges.

Behind the mathematics

Edsger W. Dijkstra1930–2002

Dijkstra's algorithm for shortest paths, 1956

Dutch computer scientist who in 1956, in about twenty minutes at a café in Amsterdam, worked out the shortest-path algorithm that still guides route planners, and who went on to shape structured programming and concurrency.