SlideShare a Scribd company logo
1 of 40
NETAJI SUBHASH ENGINEERING COLLEGE Information Technology
NETAJI SUBHASH ENGINEERING COLLEGE Information Technology
NETAJI SUBHASH ENGINEERING COLLEGE Information Technology
NETAJI SUBHASH ENGINEERING COLLEGE Information Technology
NETAJI SUBHASH ENGINEERING COLLEGE Information Technology
NETAJI SUBHASH ENGINEERING COLLEGE Information Technology
Integrity Service/
     Access Control
     Query Manager


         Storage


    Sensor Manager



NETAJI SUBHASH ENGINEERING COLLEGE Information Technology
Integrity Service/
     Access Control
     Query Manager


         Storage


    Sensor Manager



NETAJI SUBHASH ENGINEERING COLLEGE Information Technology
Integrity Service/
     Access Control
     Query Manager


         Storage


    Sensor Manager



NETAJI SUBHASH ENGINEERING COLLEGE Information Technology
Integrity Service/
     Access Control
     Query Manager


         Storage


    Sensor Manager



NETAJI SUBHASH ENGINEERING COLLEGE Information Technology
NETAJI SUBHASH ENGINEERING COLLEGE Information Technology
NETAJI SUBHASH ENGINEERING COLLEGE Information Technology
   Find shortest path from s to t.

                                                 24
                  2                                                          3
    9

s
                                             18
             14
                                                            2        6
                          6
                                   30                            4               19
                                                           11
    15                                  5
                      5
                                                                         6
                              20                            16


                                                                                  t
                  7                         44

                                                      13
S={ }
                              PQ = { s, 2, 3, 4, 5, 6, 7, t }


                                                                                      ∞
                      ∞
                                                      24
                      2                                                               3
 0          9

 s
                                                   18
                 14           ∞                                  2            6
                              6                                       ∞
                                       30    ∞                            4               19
                                                                11
            15                               5
                          5
                                                                                  6
                                  20                             16


                                                                                           t
                      7                          44
distance label        ∞                                                                   ∞
                                                           14
S={ }
                              PQ = { s, 2, 3, 4, 5, 6, 7, t }

delmin
                                                                                       ∞
                      ∞
                                                       24
                      2                                                                3
 0          9

 s
                                                   18
                 14           ∞                                   2            6
                              6                                        ∞
                                       30    ∞                             4               19
                                                                 11
            15                                5
                          5
                                                                                   6
                                  20                              16


                                                                                            t
                      7                           44
distance label        ∞                                                                    ∞
                                                            15
Dijkstra's Shortest Path Algorithm
                                  S={s}
                                  PQ = { 2, 3, 4, 5, 6, 7, t }
           decrease key

                                                                                            ∞
                       ∞ 9
                       X
                                                           24
                       2                                                                    3
 0          9

 s
                                                       18
                  14              ∞ 14
                                  X
                                                                       2            6
                                  6                                         ∞
                                           30    ∞                              4               19
                                                                      11
            15                                   5
                              5
                                                                                        6
                                      20                               16


                                                                                                 t
                       7                              44
distance label         ∞ 15
                       X                                                                        ∞
                                                                 16
Dijkstra's Shortest Path Algorithm
                                  S={s}
                                  PQ = { 2, 3, 4, 5, 6, 7, t }

                                   delmin
                                                                                            ∞
                       ∞ 9
                       X
                                                           24
                       2                                                                    3
 0          9

 s
                                                       18
                  14              ∞ 14
                                  X
                                                                       2            6
                                  6                                         ∞
                                           30    ∞                              4               19
                                                                      11
            15                                   5
                              5
                                                                                        6
                                      20                               16


                                                                                                 t
                       7                              44
distance label         ∞ 15
                       X                                                                        ∞
                                                                 17
S = { s, 2 }
                         PQ = { 3, 4, 5, 6, 7, t }


                                                                                  ∞
              ∞ 9
              X
                                                  24
              2                                                                   3
0   9

s
                                              18
         14              ∞ 14
                         X
                                                             2            6
                         6                                        ∞
                                  30    ∞                             4               19
                                                            11
    15                                  5
                     5
                                                                              6
                             20                              16


                                                                                       t
              7                              44

              ∞ 15
              X                                                                       ∞
                                                       18
Dijkstra's Shortest Path Algorithm
                         S = { s, 2 }
                         PQ = { 3, 4, 5, 6, 7, t }
                                                                      decrease key

                                                                                  ∞
                                                                                  X 33
              ∞ 9
              X
                                                  24
              2                                                                   3
0   9

s
                                              18
         14              ∞ 14
                         X
                                                             2            6
                         6                                        ∞
                                  30    ∞                             4               19
                                                            11
    15                                  5
                     5
                                                                              6
                             20                              16


                                                                                       t
              7                              44

              ∞ 15
              X                                                                       ∞
                                                       19
Dijkstra's Shortest Path Algorithm
                         S = { s, 2 }
                         PQ = { 3, 4, 5, 6, 7, t }


                                                                                    ∞
                                                                                    X 33
              ∞ 9
              X
                                                    24
              2                                                                     3
0   9
                                  delmin
s
                                                18
         14              ∞ 14
                         X
                                                               2            6
                         6                                          ∞
                                   30      ∞                            4               19
                                                              11
    15                                     5
                     5
                                                                                6
                             20                                16


                                                                                         t
              7                                44

              ∞ 15
              X                                                                         ∞
                                                         20
Dijkstra's Shortest Path Algorithm
                         S = { s, 2, 6 }
                         PQ = { 3, 4, 5, 7, t }
                                                                                      32
                                                                                  ∞ X
                                                                                  X 33
              ∞ 9
              X
                                                  24
              2                                                                   3
0   9

s
                                              18
         14              ∞ 14
                         X
                                                             2            6
                         6                                        ∞
                                       44
                                  30   ∞
                                       X                              4               19
                                                            11
    15                                  5
                     5
                                                                              6
                             20                              16


                                                                                       t
              7                             44

              ∞ 15
              X                                                                        ∞
                                                       21
Dijkstra's Shortest Path Algorithm
                         S = { s, 2, 6 }
                         PQ = { 3, 4, 5, 7, t }
                                                                                      32
                                                                                  ∞ X
                                                                                  X 33
              ∞ 9
              X
                                                  24
              2                                                                   3
0   9

s
                                              18
         14              ∞ 14
                         X
                                                             2            6
                         6                                        ∞
                                       44
                                  30   ∞
                                       X                              4               19
                                                            11
    15                                  5
                     5
                                                                              6
                             20                              16


                                                                                       t
              7                             44

              ∞ 15
              X              delmin                                                    ∞
                                                       22
Dijkstra's Shortest Path Algorithm
                         S = { s, 2, 6, 7 }
                         PQ = { 3, 4, 5, t }
                                                                                        32
                                                                                    ∞ X
                                                                                    X 33
              ∞ 9
              X
                                                    24
              2                                                                     3
0   9

s
                                                18
         14              ∞ 14
                         X
                                                               2            6
                         6                                          ∞
                                       44 35
                                       X
                                  30   ∞
                                       X                                4               19
                                                              11
    15                                  5
                     5
                                                                                6
                             20                                16


                                                                                         t
              7                                44

              ∞
              X 15                                                                     ∞
                                                                                    59 X
                                                         23
Dijkstra's Shortest Path Algorithm
                         S = { s, 2, 6, 7 }                                 delmin
                         PQ = { 3, 4, 5, t }
                                                                                        32
                                                                                    ∞ X
                                                                                    X 33
              ∞ 9
              X
                                                    24
              2                                                                     3
0   9

s
                                                18
         14              ∞ 14
                         X
                                                               2            6
                         6                                          ∞
                                       44 35
                                       X
                                  30   ∞
                                       X                                4               19
                                                              11
    15                                  5
                     5
                                                                                6
                             20                                16


                                                                                         t
              7                                44

              ∞
              X 15                                                                     ∞
                                                                                    59 X
                                                         24
Dijkstra's Shortest Path Algorithm
                         S = { s, 2, 3, 6, 7 }
                         PQ = { 4, 5, t }
                                                                                      32
                                                                                  ∞ X
                                                                                  X 33
              ∞ 9
              X
                                                  24
              2                                                                   3
0   9

s
                                                 18
         14              ∞ 14
                         X
                                                             2            6
                         6                                        ∞
                                        44 35 34
                                        X X
                                  30    ∞
                                        X                             4               19
                                                            11
    15                                   5
                     5
                                                                              6
                             20                              16


                                                                                       t
              7                              44

              ∞
              X 15                                                               X ∞
                                                                              51 59 X
                                                       25
Dijkstra's Shortest Path Algorithm
                         S = { s, 2, 3, 6, 7 }
                         PQ = { 4, 5, t }
                                                                                         32
                                                                                     ∞ X
                                                                                     X 33
              ∞ 9
              X
                                                     24
              2                                                                      3
0   9

s
                                                 18
         14              ∞ 14
                         X
                                                                2            6
                         6                                           ∞
                                        44 35 34
                                        X X
                                  30    ∞
                                        X                                4               19
                                                               11
    15                                   5
                     5
                                                                                 6
                             20                                 16
                                       delmin

                                                                                          t
              7                                 44

              ∞
              X 15                                                                  X ∞
                                                                                 51 59 X
                                                          26
Dijkstra's Shortest Path Algorithm
                         S = { s, 2, 3, 5, 6, 7 }
                         PQ = { 4, t }
                                                                                           32
                                                                                       ∞ X
                                                                                       X 33
              ∞ 9
              X
                                                  24
              2                                                                        3
0   9

s
                                               18
         14              ∞ 14
                         X
                                                             2                 6
                         6                                           ∞
                                                                  45 X
                                        44 35 34
                                        X X
                                  30    ∞
                                        X                                4                 19
                                                            11
    15                                   5
                     5
                                                                                   6
                             20                              16


                                                                                            t
              7                              44

              ∞
              X 15                                                              X X ∞
                                                                             50 51 59 X
                                                       27
Dijkstra's Shortest Path Algorithm
                         S = { s, 2, 3, 5, 6, 7 }
                         PQ = { 4, t }
                                                                                             32
                                                                                         ∞ X
                                                                                         X 33
              ∞ 9
              X
                                                  24
              2                                                                          3
0   9

s
                                               18
         14              ∞ 14
                         X
                                                             2                   6
                         6                                             ∞
                                                                    45 X
                                        44 35 34
                                        X X
                                  30    ∞
                                        X                                  4                 19
                                                            11
    15                                   5                        delmin
                     5
                                                                                     6
                             20                              16


                                                                                              t
              7                              44

              ∞
              X 15                                                                X X ∞
                                                                               50 51 59 X
                                                       28
Dijkstra's Shortest Path Algorithm
                         S = { s, 2, 3, 4, 5, 6, 7 }
                         PQ = { t }
                                                                                           32
                                                                                       ∞ X
                                                                                       X 33
              ∞ 9
              X
                                                  24
              2                                                                        3
0   9

s
                                               18
         14              ∞ 14
                         X
                                                             2                 6
                         6                                           ∞
                                                                  45 X
                                        44 35 34
                                        X X
                                  30    ∞
                                        X                                4                 19
                                                            11
    15                                   5
                     5
                                                                                   6
                             20                              16


                                                                                            t
              7                              44

              ∞
              X 15                                                              X X ∞
                                                                             50 51 59 X
                                                       29
Dijkstra's Shortest Path Algorithm
                         S = { s, 2, 3, 4, 5, 6, 7 }
                         PQ = { t }
                                                                                              32
                                                                                          ∞ X
                                                                                          X 33
              ∞ 9
              X
                                                  24
              2                                                                           3
0   9

s
                                               18
         14              ∞ 14
                         X
                                                             2                    6
                         6                                              ∞
                                                                     45 X
                                        44 35 34
                                        X X
                                  30    ∞
                                        X                                   4                 19
                                                            11
    15                                   5
                     5
                                                                                      6
                             20                              16


                                                                                               t
              7                              44

              ∞
              X 15
                                                            delmin                 X X ∞
                                                                                50 51 59 X
                                                       30
Dijkstra's Shortest Path Algorithm
                         S = { s, 2, 3, 4, 5, 6, 7, t }
                         PQ = { }
                                                                                            32
                                                                                        ∞ X
                                                                                        X 33
              ∞ 9
              X
                                                   24
              2                                                                         3
0   9

s
                                               18
         14              ∞ 14
                         X
                                                              2                 6
                         6                                            ∞
                                                                   45 X
                                        44 35 34
                                        X X
                                  30    ∞
                                        X                                 4                 19
                                                             11
    15                                   5
                     5
                                                                                    6
                             20                               16


                                                                                             t
              7                               44

              ∞
              X 15                                                               X X ∞
                                                                              50 51 59 X
                                                        31
Dijkstra's Shortest Path Algorithm
                         S = { s, 2, 3, 4, 5, 6, 7, t }
                         PQ = { }
                                                                                            32
                                                                                        ∞ X
                                                                                        X 33
              ∞ 9
              X
                                                   24
              2                                                                         3
0   9

s
                                               18
         14              ∞ 14
                         X
                                                              2                 6
                         6                                            ∞
                                                                   45 X
                                        44 35 34
                                        X X
                                  30    ∞
                                        X                                 4                 19
                                                             11
    15                                   5
                     5
                                                                                    6
                             20                               16


                                                                                             t
              7                               44

              ∞
              X 15                                                               X X ∞
                                                                              50 51 59 X
                                                        32
NETAJI SUBHASH ENGINEERING COLLEGE Information Technology
NETAJI SUBHASH ENGINEERING COLLEGE Information Technology
NETAJI SUBHASH ENGINEERING COLLEGE Information Technology
NETAJI SUBHASH ENGINEERING COLLEGE Information Technology
NETAJI SUBHASH ENGINEERING COLLEGE Information Technology
NETAJI SUBHASH ENGINEERING COLLEGE Information Technology
NETAJI SUBHASH ENGINEERING COLLEGE Information Technology
NETAJI SUBHASH ENGINEERING COLLEGE Information Technology

More Related Content

Viewers also liked

Wireless Sensor Networks
Wireless Sensor NetworksWireless Sensor Networks
Wireless Sensor Networksrajatmal4
 
Wireless Sensor Networks (WSN)
Wireless Sensor Networks (WSN)Wireless Sensor Networks (WSN)
Wireless Sensor Networks (WSN)M.k. Praveen
 
Wireless sensor networks
Wireless sensor networksWireless sensor networks
Wireless sensor networksGokuldhev mony
 
Designing for Internet of Things is shaping relationships
Designing  for Internet of Things is shaping relationshipsDesigning  for Internet of Things is shaping relationships
Designing for Internet of Things is shaping relationshipsMassimiliano Dibitonto
 
Vendula Hejlová - Wireless sensor network components for monitoring air pollu...
Vendula Hejlová - Wireless sensor network components for monitoring air pollu...Vendula Hejlová - Wireless sensor network components for monitoring air pollu...
Vendula Hejlová - Wireless sensor network components for monitoring air pollu...swenney
 
5.Indoor Air Pollution Monitoring and Stove Efficiency Test – Experience of P...
5.Indoor Air Pollution Monitoring and Stove Efficiency Test – Experience of P...5.Indoor Air Pollution Monitoring and Stove Efficiency Test – Experience of P...
5.Indoor Air Pollution Monitoring and Stove Efficiency Test – Experience of P...Centre For Rural Technology, Nepal
 
Air Pollution Monitoring in India using Aeroqual Compact Air Quality Monitori...
Air Pollution Monitoring in India using Aeroqual Compact Air Quality Monitori...Air Pollution Monitoring in India using Aeroqual Compact Air Quality Monitori...
Air Pollution Monitoring in India using Aeroqual Compact Air Quality Monitori...Carl Beck
 
Wireless indoor air quality (iaq) monitoring in classrooms and laboratorie…
Wireless indoor air quality (iaq) monitoring in classrooms and laboratorie…Wireless indoor air quality (iaq) monitoring in classrooms and laboratorie…
Wireless indoor air quality (iaq) monitoring in classrooms and laboratorie…Jennifer Maclachlan
 
Acit15 389 wsn_aqmc_link
Acit15 389 wsn_aqmc_linkAcit15 389 wsn_aqmc_link
Acit15 389 wsn_aqmc_linkMohamed Fezari
 
Zigbee intro v5
Zigbee intro v5Zigbee intro v5
Zigbee intro v5rajrayala
 
Air pollution monitoring system using mobile gprs sensors array
Air pollution monitoring system using mobile gprs sensors arrayAir pollution monitoring system using mobile gprs sensors array
Air pollution monitoring system using mobile gprs sensors arraySaurabh Giratkar
 
2008-12 WMO GURME - Air Pollution Monitoring
2008-12 WMO GURME - Air Pollution Monitoring2008-12 WMO GURME - Air Pollution Monitoring
2008-12 WMO GURME - Air Pollution Monitoringurbanemissions
 
[Climate Change Program]City Paper Presentation : Guangzhou(China)
[Climate Change Program]City Paper Presentation : Guangzhou(China)[Climate Change Program]City Paper Presentation : Guangzhou(China)
[Climate Change Program]City Paper Presentation : Guangzhou(China)shrdcinfo
 

Viewers also liked (17)

Wireless sensor network
Wireless sensor networkWireless sensor network
Wireless sensor network
 
Wireless Sensor Networks
Wireless Sensor NetworksWireless Sensor Networks
Wireless Sensor Networks
 
Wireless Sensor Networks (WSN)
Wireless Sensor Networks (WSN)Wireless Sensor Networks (WSN)
Wireless Sensor Networks (WSN)
 
Wireless sensor networks
Wireless sensor networksWireless sensor networks
Wireless sensor networks
 
Designing for Internet of Things is shaping relationships
Designing  for Internet of Things is shaping relationshipsDesigning  for Internet of Things is shaping relationships
Designing for Internet of Things is shaping relationships
 
Vendula Hejlová - Wireless sensor network components for monitoring air pollu...
Vendula Hejlová - Wireless sensor network components for monitoring air pollu...Vendula Hejlová - Wireless sensor network components for monitoring air pollu...
Vendula Hejlová - Wireless sensor network components for monitoring air pollu...
 
Wireless sensor network
Wireless sensor networkWireless sensor network
Wireless sensor network
 
5.Indoor Air Pollution Monitoring and Stove Efficiency Test – Experience of P...
5.Indoor Air Pollution Monitoring and Stove Efficiency Test – Experience of P...5.Indoor Air Pollution Monitoring and Stove Efficiency Test – Experience of P...
5.Indoor Air Pollution Monitoring and Stove Efficiency Test – Experience of P...
 
Wireless Sensor Networks ppt
Wireless Sensor Networks pptWireless Sensor Networks ppt
Wireless Sensor Networks ppt
 
Air Pollution Monitoring in India using Aeroqual Compact Air Quality Monitori...
Air Pollution Monitoring in India using Aeroqual Compact Air Quality Monitori...Air Pollution Monitoring in India using Aeroqual Compact Air Quality Monitori...
Air Pollution Monitoring in India using Aeroqual Compact Air Quality Monitori...
 
Wireless indoor air quality (iaq) monitoring in classrooms and laboratorie…
Wireless indoor air quality (iaq) monitoring in classrooms and laboratorie…Wireless indoor air quality (iaq) monitoring in classrooms and laboratorie…
Wireless indoor air quality (iaq) monitoring in classrooms and laboratorie…
 
Acit15 389 wsn_aqmc_link
Acit15 389 wsn_aqmc_linkAcit15 389 wsn_aqmc_link
Acit15 389 wsn_aqmc_link
 
Zigbee intro v5
Zigbee intro v5Zigbee intro v5
Zigbee intro v5
 
Air pollution monitoring system using mobile gprs sensors array
Air pollution monitoring system using mobile gprs sensors arrayAir pollution monitoring system using mobile gprs sensors array
Air pollution monitoring system using mobile gprs sensors array
 
Wireless notice board using zigbee
Wireless notice board using zigbeeWireless notice board using zigbee
Wireless notice board using zigbee
 
2008-12 WMO GURME - Air Pollution Monitoring
2008-12 WMO GURME - Air Pollution Monitoring2008-12 WMO GURME - Air Pollution Monitoring
2008-12 WMO GURME - Air Pollution Monitoring
 
[Climate Change Program]City Paper Presentation : Guangzhou(China)
[Climate Change Program]City Paper Presentation : Guangzhou(China)[Climate Change Program]City Paper Presentation : Guangzhou(China)
[Climate Change Program]City Paper Presentation : Guangzhou(China)
 

Monitoring air pollution along the road using wireless sensor networks

  • 1. NETAJI SUBHASH ENGINEERING COLLEGE Information Technology
  • 2. NETAJI SUBHASH ENGINEERING COLLEGE Information Technology
  • 3. NETAJI SUBHASH ENGINEERING COLLEGE Information Technology
  • 4. NETAJI SUBHASH ENGINEERING COLLEGE Information Technology
  • 5. NETAJI SUBHASH ENGINEERING COLLEGE Information Technology
  • 6. NETAJI SUBHASH ENGINEERING COLLEGE Information Technology
  • 7. Integrity Service/ Access Control Query Manager Storage Sensor Manager NETAJI SUBHASH ENGINEERING COLLEGE Information Technology
  • 8. Integrity Service/ Access Control Query Manager Storage Sensor Manager NETAJI SUBHASH ENGINEERING COLLEGE Information Technology
  • 9. Integrity Service/ Access Control Query Manager Storage Sensor Manager NETAJI SUBHASH ENGINEERING COLLEGE Information Technology
  • 10. Integrity Service/ Access Control Query Manager Storage Sensor Manager NETAJI SUBHASH ENGINEERING COLLEGE Information Technology
  • 11. NETAJI SUBHASH ENGINEERING COLLEGE Information Technology
  • 12. NETAJI SUBHASH ENGINEERING COLLEGE Information Technology
  • 13. Find shortest path from s to t. 24 2 3 9 s 18 14 2 6 6 30 4 19 11 15 5 5 6 20 16 t 7 44 13
  • 14. S={ } PQ = { s, 2, 3, 4, 5, 6, 7, t } ∞ ∞ 24 2 3 0 9 s 18 14 ∞ 2 6 6 ∞ 30 ∞ 4 19 11 15 5 5 6 20 16 t 7 44 distance label ∞ ∞ 14
  • 15. S={ } PQ = { s, 2, 3, 4, 5, 6, 7, t } delmin ∞ ∞ 24 2 3 0 9 s 18 14 ∞ 2 6 6 ∞ 30 ∞ 4 19 11 15 5 5 6 20 16 t 7 44 distance label ∞ ∞ 15
  • 16. Dijkstra's Shortest Path Algorithm S={s} PQ = { 2, 3, 4, 5, 6, 7, t } decrease key ∞ ∞ 9 X 24 2 3 0 9 s 18 14 ∞ 14 X 2 6 6 ∞ 30 ∞ 4 19 11 15 5 5 6 20 16 t 7 44 distance label ∞ 15 X ∞ 16
  • 17. Dijkstra's Shortest Path Algorithm S={s} PQ = { 2, 3, 4, 5, 6, 7, t } delmin ∞ ∞ 9 X 24 2 3 0 9 s 18 14 ∞ 14 X 2 6 6 ∞ 30 ∞ 4 19 11 15 5 5 6 20 16 t 7 44 distance label ∞ 15 X ∞ 17
  • 18. S = { s, 2 } PQ = { 3, 4, 5, 6, 7, t } ∞ ∞ 9 X 24 2 3 0 9 s 18 14 ∞ 14 X 2 6 6 ∞ 30 ∞ 4 19 11 15 5 5 6 20 16 t 7 44 ∞ 15 X ∞ 18
  • 19. Dijkstra's Shortest Path Algorithm S = { s, 2 } PQ = { 3, 4, 5, 6, 7, t } decrease key ∞ X 33 ∞ 9 X 24 2 3 0 9 s 18 14 ∞ 14 X 2 6 6 ∞ 30 ∞ 4 19 11 15 5 5 6 20 16 t 7 44 ∞ 15 X ∞ 19
  • 20. Dijkstra's Shortest Path Algorithm S = { s, 2 } PQ = { 3, 4, 5, 6, 7, t } ∞ X 33 ∞ 9 X 24 2 3 0 9 delmin s 18 14 ∞ 14 X 2 6 6 ∞ 30 ∞ 4 19 11 15 5 5 6 20 16 t 7 44 ∞ 15 X ∞ 20
  • 21. Dijkstra's Shortest Path Algorithm S = { s, 2, 6 } PQ = { 3, 4, 5, 7, t } 32 ∞ X X 33 ∞ 9 X 24 2 3 0 9 s 18 14 ∞ 14 X 2 6 6 ∞ 44 30 ∞ X 4 19 11 15 5 5 6 20 16 t 7 44 ∞ 15 X ∞ 21
  • 22. Dijkstra's Shortest Path Algorithm S = { s, 2, 6 } PQ = { 3, 4, 5, 7, t } 32 ∞ X X 33 ∞ 9 X 24 2 3 0 9 s 18 14 ∞ 14 X 2 6 6 ∞ 44 30 ∞ X 4 19 11 15 5 5 6 20 16 t 7 44 ∞ 15 X delmin ∞ 22
  • 23. Dijkstra's Shortest Path Algorithm S = { s, 2, 6, 7 } PQ = { 3, 4, 5, t } 32 ∞ X X 33 ∞ 9 X 24 2 3 0 9 s 18 14 ∞ 14 X 2 6 6 ∞ 44 35 X 30 ∞ X 4 19 11 15 5 5 6 20 16 t 7 44 ∞ X 15 ∞ 59 X 23
  • 24. Dijkstra's Shortest Path Algorithm S = { s, 2, 6, 7 } delmin PQ = { 3, 4, 5, t } 32 ∞ X X 33 ∞ 9 X 24 2 3 0 9 s 18 14 ∞ 14 X 2 6 6 ∞ 44 35 X 30 ∞ X 4 19 11 15 5 5 6 20 16 t 7 44 ∞ X 15 ∞ 59 X 24
  • 25. Dijkstra's Shortest Path Algorithm S = { s, 2, 3, 6, 7 } PQ = { 4, 5, t } 32 ∞ X X 33 ∞ 9 X 24 2 3 0 9 s 18 14 ∞ 14 X 2 6 6 ∞ 44 35 34 X X 30 ∞ X 4 19 11 15 5 5 6 20 16 t 7 44 ∞ X 15 X ∞ 51 59 X 25
  • 26. Dijkstra's Shortest Path Algorithm S = { s, 2, 3, 6, 7 } PQ = { 4, 5, t } 32 ∞ X X 33 ∞ 9 X 24 2 3 0 9 s 18 14 ∞ 14 X 2 6 6 ∞ 44 35 34 X X 30 ∞ X 4 19 11 15 5 5 6 20 16 delmin t 7 44 ∞ X 15 X ∞ 51 59 X 26
  • 27. Dijkstra's Shortest Path Algorithm S = { s, 2, 3, 5, 6, 7 } PQ = { 4, t } 32 ∞ X X 33 ∞ 9 X 24 2 3 0 9 s 18 14 ∞ 14 X 2 6 6 ∞ 45 X 44 35 34 X X 30 ∞ X 4 19 11 15 5 5 6 20 16 t 7 44 ∞ X 15 X X ∞ 50 51 59 X 27
  • 28. Dijkstra's Shortest Path Algorithm S = { s, 2, 3, 5, 6, 7 } PQ = { 4, t } 32 ∞ X X 33 ∞ 9 X 24 2 3 0 9 s 18 14 ∞ 14 X 2 6 6 ∞ 45 X 44 35 34 X X 30 ∞ X 4 19 11 15 5 delmin 5 6 20 16 t 7 44 ∞ X 15 X X ∞ 50 51 59 X 28
  • 29. Dijkstra's Shortest Path Algorithm S = { s, 2, 3, 4, 5, 6, 7 } PQ = { t } 32 ∞ X X 33 ∞ 9 X 24 2 3 0 9 s 18 14 ∞ 14 X 2 6 6 ∞ 45 X 44 35 34 X X 30 ∞ X 4 19 11 15 5 5 6 20 16 t 7 44 ∞ X 15 X X ∞ 50 51 59 X 29
  • 30. Dijkstra's Shortest Path Algorithm S = { s, 2, 3, 4, 5, 6, 7 } PQ = { t } 32 ∞ X X 33 ∞ 9 X 24 2 3 0 9 s 18 14 ∞ 14 X 2 6 6 ∞ 45 X 44 35 34 X X 30 ∞ X 4 19 11 15 5 5 6 20 16 t 7 44 ∞ X 15 delmin X X ∞ 50 51 59 X 30
  • 31. Dijkstra's Shortest Path Algorithm S = { s, 2, 3, 4, 5, 6, 7, t } PQ = { } 32 ∞ X X 33 ∞ 9 X 24 2 3 0 9 s 18 14 ∞ 14 X 2 6 6 ∞ 45 X 44 35 34 X X 30 ∞ X 4 19 11 15 5 5 6 20 16 t 7 44 ∞ X 15 X X ∞ 50 51 59 X 31
  • 32. Dijkstra's Shortest Path Algorithm S = { s, 2, 3, 4, 5, 6, 7, t } PQ = { } 32 ∞ X X 33 ∞ 9 X 24 2 3 0 9 s 18 14 ∞ 14 X 2 6 6 ∞ 45 X 44 35 34 X X 30 ∞ X 4 19 11 15 5 5 6 20 16 t 7 44 ∞ X 15 X X ∞ 50 51 59 X 32
  • 33. NETAJI SUBHASH ENGINEERING COLLEGE Information Technology
  • 34. NETAJI SUBHASH ENGINEERING COLLEGE Information Technology
  • 35. NETAJI SUBHASH ENGINEERING COLLEGE Information Technology
  • 36. NETAJI SUBHASH ENGINEERING COLLEGE Information Technology
  • 37. NETAJI SUBHASH ENGINEERING COLLEGE Information Technology
  • 38. NETAJI SUBHASH ENGINEERING COLLEGE Information Technology
  • 39. NETAJI SUBHASH ENGINEERING COLLEGE Information Technology
  • 40. NETAJI SUBHASH ENGINEERING COLLEGE Information Technology