Graph Theory Math Ia Direct

Unvisited min = D(510). Current = D. Neighbors: A(no), B(no), C(510+120=630 vs 530 no), F(510+300=810), T(510+500=1010). Update T tentative = 1010. Visited S,A,B,D.

Destination T reached (820). Stop.

Unvisited min = B(350). Current = B. Neighbors: S(no), A(350+150=500 vs 200 no), C(350+180=530 vs 600 → update C=530), D(350+220=570 vs 510 no), E(350+280=630). Visited S,A,B. graph theory math ia

1. Introduction Aim: To determine the most efficient (shortest) route for a delivery driver in a local suburban network using graph theory, and to compare the effectiveness of Dijkstra’s algorithm against simple visual inspection. Unvisited min = D(510)

(sort edges by weight, add if no cycle): Update T tentative = 1010

| Edge | Weight | Edge | Weight | |------|--------|------|--------| | S–A | 200 | B–C | 180 | | S–B | 350 | C–D | 120 | | A–B | 150 | C–E | 250 | | A–C | 400 | D–F | 300 | | B–D | 220 | E–F | 100 | | B–E | 280 | F–T | 90 | | A–D | 310 | D–T | 500 (direct but long) |

Unvisited min = F(730). Current = F. Neighbors: D(no), E(no), T(730+90=820 vs 1010 → update T=820). Visited add F.

Unvisited min = D(510). Current = D. Neighbors: A(no), B(no), C(510+120=630 vs 530 no), F(510+300=810), T(510+500=1010). Update T tentative = 1010. Visited S,A,B,D.

Destination T reached (820). Stop.

Unvisited min = B(350). Current = B. Neighbors: S(no), A(350+150=500 vs 200 no), C(350+180=530 vs 600 → update C=530), D(350+220=570 vs 510 no), E(350+280=630). Visited S,A,B.

1. Introduction Aim: To determine the most efficient (shortest) route for a delivery driver in a local suburban network using graph theory, and to compare the effectiveness of Dijkstra’s algorithm against simple visual inspection.

(sort edges by weight, add if no cycle):

| Edge | Weight | Edge | Weight | |------|--------|------|--------| | S–A | 200 | B–C | 180 | | S–B | 350 | C–D | 120 | | A–B | 150 | C–E | 250 | | A–C | 400 | D–F | 300 | | B–D | 220 | E–F | 100 | | B–E | 280 | F–T | 90 | | A–D | 310 | D–T | 500 (direct but long) |

Unvisited min = F(730). Current = F. Neighbors: D(no), E(no), T(730+90=820 vs 1010 → update T=820). Visited add F.