Synchronized algorithm laboratory

Same graph. Different decisions.

Compare real deterministic traces event by event. Every lane shares the same scenario, endpoints, and travel model; shorter traces hold their final state while the shared clock continues.

25 nodes40 edgesseed 1101
Shared configurationUniform city grid

Twenty-five intersections and equal-cost streets create many equally short routes across a calm, regular city block pattern.

A1E5

One clock, 2 traces

Shared stateReady
0 / 2 traces complete2 routes foundLowest observed cost: 8

Dijkstra's Algorithm comparison lane

Lane 01Event 1
O((V + E) log V)Guaranteed optimal
Current eventInitialize

Initialize the search from n-0-0 to n-4-4.

Path cost
8
Expanded
25
Edges checked
78
Max frontier
5
Trace events
336
Compute
Nonvisual result summary

The algorithm's compatibility requirements were validated, so the reported route is optimal.

Route: A1 → B1 → C1 → D1 → E1 → E2 → E3 → E4 → E5

Current event: Initialize the search from n-0-0 to n-4-4.

A* Search comparison lane

Lane 02Event 1
O((V + E) log V) worst caseOptimal if admissible
Current eventInitialize

Initialize the search from n-0-0 to n-4-4.

Path cost
8
Expanded
9
Edges checked
22
Max frontier
7
Trace events
116
Compute
Nonvisual result summary

This route is optimal if the selected, scaled heuristic is admissible for the current cost model.

Route: A1 → B1 → C1 → D1 → E1 → E2 → E3 → E4 → E5

Current event: Initialize the search from n-0-0 to n-4-4.

Compare Mode ready with Dijkstra and A star.