You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Compare CH vs SpeedyALT (not Dijkstra); show route before final overlay; info-boxes in video
Java exporter (CHQueryExporter):
- Switch to identity graph ordering (SpeedyGraphBuilder.build)
- Build SpeedyALTData (16 landmarks) for ALT heuristic
- Replace instrumented Dijkstra with instrumented SpeedyALT query
(uses ALT estimation, dead-end pruning — matches SpeedyALT.java)
- Rename JSON field 'dijkstraEvents' → 'speedyALTEvents'
HTML visualization:
- Rename all 'Dijkstra' labels → 'SpeedyALT' (title, panels, phase
messages, final overlay, video labels)
- Support both speedyALTEvents and dijkstraEvents JSON fields (backward compat)
- Draw info-box overlay text onto composite canvas during video recording
(new drawInfoBoxToCanvas helper with rounded-rect pill background)
- Delay final overlay by ~2s after search ends so the route path is
visible first (phase 0→1→2 state machine)
- Keep recording for 3s after final overlay appears to capture it
README: Updated to reflect SpeedyALT comparison
Agent-Logs-Url: https://github.com/steffenaxer/matsim-libs/sessions/b1cbd2a4-34d0-4967-9e33-d5d221f864be
Co-authored-by: steffenaxer <26229392+steffenaxer@users.noreply.github.com>
Copy file name to clipboardExpand all lines: matsim/tools/ch-viz/README.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
# CH Router Visualization
2
2
3
-
Interactive Leaflet.js and canvas visualization of the Contraction Hierarchies (CH) routing algorithm vs Dijkstra on the Berlin road network.
3
+
Interactive Leaflet.js and canvas visualization of the Contraction Hierarchies (CH) routing algorithm vs SpeedyALT (A* with Landmarks) on the Berlin road network.
4
4
5
5
Created by Steffen Axer ([iteratively.io](https://iteratively.io)) to demonstrate CH routing efficiency for LinkedIn.
6
6
@@ -48,7 +48,7 @@ Most browsers block `fetch()` from `file://` URLs. Use a local server as above,
48
48
49
49
## Visualization Features
50
50
51
-
-**Split-screen**Dijkstra vs CH comparison (synchronized pan/zoom via Leaflet maps)
51
+
-**Split-screen**SpeedyALT vs CH comparison (synchronized pan/zoom via Leaflet maps)
52
52
-**OSM tile background** — dark-themed OpenStreetMap tiles with WGS84 coordinates
53
53
-**Play / Pause / Step** controls with speed slider (1×–50× events per frame)
54
54
-**Step slider** — drag to seek forward/backward through events; forward (▸) and backward (◂) step buttons
@@ -68,14 +68,14 @@ Most browsers block `fetch()` from `file://` URLs. Use a local server as above,
0 commit comments