Atlas against Dijkstra
Each pair of junctions below is routed twice in a Web Worker on the graphs this page loaded: once with the contraction hierarchy, and once with plain Dijkstra on the road graph before any contraction. The two must give the same travel time, and the hierarchy’s path, unpacked into roads, must be a path of the road graph that adds up to it.
Loading the graphs
| Mode | Pairs | Equal | Hierarchy | Dijkstra | From both ends | Faster | Nodes settled by each |
|---|
The map shows the last routes compared. A route where the two differ would be drawn in red.