HH-routing in OsmAnd
summary
OsmAnd moves from A and contraction hierarchies to a highway hierarchy that uses flooding, Dijkstra to fixed depths and max‑flow/min‑cut to find cluster borders, then builds shortcuts and refines routes on demand. It reduces a global graph to 3 million points simplified graph with 90 million shortcuts, runs up to four times faster than the prior two‑phase approach and sometimes 100× faster than original A, supports dynamic cost changes and 5–10 minute updates but requires consistent map versions across neighboring regions.
AI-written summary · about
