AlgorithmsGraphsEdit on GitHubEdit history
Hierholzer's Algorithm
1873
An algorithm that constructs an Eulerian circuit in linear time by starting from a vertex, following unused edges to form a closed trail, and repeatedly splicing in new closed trails started from vertices on the trail that still have unused edges.
Origin
Carl Hierholzer (1873). Ueber die Möglichkeit, einen Linienzug ohne Wiederholung und ohne Unterbrechung zu umfahren. Mathematische Annalen 6(1).doi:10.1007/BF01442866 — checked against Crossref, 2026-11-08Published after Hierholzer's death in 1871 from his manuscript, communicated by Chr. Wiener; the Crossref metadata also lists Wiener as an author.
Lineage
Algorithms 3 · Relations 2
Derived algorithms
What it led to
Christofides Algorithm1976
Structural analysisIt includes a step that finds an Eulerian circuit in the multigraph obtained after adding the matching.
Edmonds–Johnson Chinese Postman Algorithm1973
Structural analysisAfter duplicating paths so that all degrees become even, it uses a step that finds an Eulerian circuit.
Notable implementations
Paths checked against the GitHub default branch
- jgrapht/jgrapht/jgrapht-core/src/main/java/org/jgrapht/alg/cycle/HierholzerEulerianCycle.javaJava
- google/or-tools/ortools/graph/eulerian_path.hC++
Find more: GitHub · Semantic Scholar · Google Scholar · arXiv
Claims & disputes
Loading…