Skip to main content

Graph Theory Math Ia -

Current = S (distance 0). Neighbors: A(200), B(350). Update: A=200, B=350. Visited = S.

Destination T reached (820). Stop.

Unvisited min = C(530). Current = C. Neighbors: A(no), B(no), D(no), E(530+250=780 vs 630 no). Visited S,A,B,D,C. graph theory math ia

I used Google Maps for weights and could extend to Excel/Python. Current = S (distance 0)