How it works
Settle the nearest unsettled node, then relax its outgoing edges. Supply edges as u,v,weight separated by semicolons.
Try an example
Node count: 4; Directed edges: 0,1,2;0,2,5;1,2,1;2,3,4;1,3,10; Start node: 0; End node: 3. The form starts with these values; change them to explore your own case.
Example result: Distance = 7
- Settle node 0, distance 0.
- Settle node 1, distance 2.
- Settle node 2, distance 3.
- Settle node 3, distance 7.
Learn more in Algorithm reasoning and step visualizers.
Results are calculated locally. Floating-point tools provide numerical approximations, not formal proof certificates.