Presentation
On
Graph
PRESENTED BY
TEAM ALPHA
Team Members
Kazi Emad
ID no. 191902025
01
Forhad Ahmed
ID no. 191902002
02
• Dijkstra’s Algorithm
• BFS Method
• DFS Method
• Bellman Ford Algorithm
Dijkstra’s Algorithm
Given a graph and a source vertex in the graph, find shortest paths
from source to all vertices in the given graph.
Dijkstra’s Algorithm
BFS Method
BFS follows the Queue structure.
BFS Method
Let’s solve this problem
through engaging audience
Bellman-Ford algorithm
Bellman-Ford algorithm
Initialize all the
distances
Bellman-Ford algorithm
iterate over all
edges/vertices
and apply update
rule
Bellman-Ford algorithm
Bellman-Ford algorithm
check for negative
cycles
Negative cycles
A
B
C E
D1
1
-10
5
10
3
What is the shortest path
from a to e?
Bellman-Ford algorithm
Bellman-Ford algorithm
G
S
F
E
A
D
B
C
10
8
1
-1
-1
3
1
1
2
-2
-4
How many edges is
the shortest path
from s to:
A:
Bellman-Ford algorithm
G
S
F
E
A
D
B
C
10
8
1
-1
-1
3
1
1
2
-2
-4
How many edges is
the shortest path
from s to:
A: 3
Bellman-Ford algorithm
G
S
F
E
A
D
B
C
10
8
1
-1
-1
3
1
1
2
-2
-4
How many edges is
the shortest path
from s to:
A: 3
B:
Bellman-Ford algorithm
G
S
F
E
A
D
B
C
10
8
1
-1
-1
3
1
1
2
-2
-4
How many edges is
the shortest path
from s to:
A: 3
B: 5
Bellman-Ford algorithm
G
S
F
E
A
D
B
C
10
8
1
-1
-1
3
1
1
2
-2
-4
How many edges is
the shortest path
from s to:
A: 3
B: 5
D:
Bellman-Ford algorithm
G
S
F
E
A
D
B
C
10
8
1
-1
-1
3
1
1
2
-2
-4
How many edges is
the shortest path
from s to:
A: 3
B: 5
D: 7
Bellman-Ford algorithm
G
S
F
E
A
D
B
C
10
8
1
-1
-1
3
1
1
2
-2
-4
0 





Iteration: 0
Bellman-Ford algorithm
G
S
F
E
A
D
B
C
10
8
1
-1
-1
3
1
1
2
-2
-4
0 10




8
Iteration: 1
Bellman-Ford algorithm
G
S
F
E
A
D
B
C
10
8
1
-1
-1
3
1
1
2
-2
-4
0 10


12
9
8
Iteration: 2
Bellman-Ford algorithm
G
S
F
E
A
D
B
C
10
8
1
-1
-1
3
1
1
2
-2
-4
0 5
10

8
9
8
Iteration: 3
A has the correct
distance and path
Bellman-Ford algorithm
G
S
F
E
A
D
B
C
10
8
1
-1
-1
3
1
1
2
-2
-4
0 5
6
11
7
9
8
Iteration: 4
Bellman-Ford algorithm
G
S
F
E
A
D
B
C
10
8
1
-1
-1
3
1
1
2
-2
-4
0 5
5
7
147
9
8
Iteration: 5
B has the correct
distance and path
Bellman-Ford algorithm
G
S
F
E
A
D
B
C
10
8
1
-1
-1
3
1
1
2
-2
-4
0 5
5
6
107
9
8
Iteration: 6
Bellman-Ford algorithm
G
S
F
E
A
D
B
C
10
8
1
-1
-1
3
1
1
2
-2
-4
0 5
5
6
97
9
8
Iteration: 7
D (and all other
nodes) have the
correct distance
and path
Any Question?
Thank You

More Related Content

PPTX
Bellman ford algorithm
PPTX
Bellmanford . montaser hamza.iraq
PPT
Gradually Varied Flow in Open Channel
PDF
[Question Paper] Electronic and Communication Technology (Revised Course) [Ja...
PPTX
Ejercicio 10.
PDF
group.D.final.presentation
PDF
Uvl simplysupported beam
PPT
On the Step Explosion Problem
Bellman ford algorithm
Bellmanford . montaser hamza.iraq
Gradually Varied Flow in Open Channel
[Question Paper] Electronic and Communication Technology (Revised Course) [Ja...
Ejercicio 10.
group.D.final.presentation
Uvl simplysupported beam
On the Step Explosion Problem

What's hot (14)

PPTX
Alpha beta pruning
PDF
Progettazione e valutazione sperimentale di un sistema per la definizione ed ...
PDF
PPTX
Bellman Ford Routing Algorithm-Computer Networks
PDF
Plugin identities
PDF
Figures
PPT
2.4 mst kruskal’s
DOCX
Midterm 2016
PDF
Network flow problems
PPTX
Presentation for Gantry crane
PPT
Control and Guidance law for Guided Bomb
PDF
80 questc3b5es-gabarito
PPTX
MS Speedy
Alpha beta pruning
Progettazione e valutazione sperimentale di un sistema per la definizione ed ...
Bellman Ford Routing Algorithm-Computer Networks
Plugin identities
Figures
2.4 mst kruskal’s
Midterm 2016
Network flow problems
Presentation for Gantry crane
Control and Guidance law for Guided Bomb
80 questc3b5es-gabarito
MS Speedy
Ad

More from Kazi Emad (8)

PPTX
Comparative Analysis of Windows and Linux System
PPTX
Student result management system
PPTX
Cache memory by emad
PPTX
Single sourceshortestpath by emad
PPTX
Kazi emad on nenotech
PPTX
Technologies Used in ICC CWC-2019
PPTX
Kazi emad on ai
PPTX
Entropy.ppt
Comparative Analysis of Windows and Linux System
Student result management system
Cache memory by emad
Single sourceshortestpath by emad
Kazi emad on nenotech
Technologies Used in ICC CWC-2019
Kazi emad on ai
Entropy.ppt
Ad

Recently uploaded (20)

PDF
BBC NW_Tech Facilities_30 Odd Yrs Ago [J].pdf
PDF
Manual variador de corriente directa parker.pdf
PPTX
Ingredients of concrete technology .pptx
PPTX
Unit I - Mechatronics.pptx presentation
PDF
August 2025 Top read articles in International Journal of Database Managemen...
PDF
ForSee by Languify Teardown final product management
PPTX
MODULE 3 SUSTAINABLE DEVELOPMENT GOALSPPT.pptx
PPTX
Cloud Security and Privacy-Module-1.pptx
PPTX
PPT-HEART-DISEASE[1].pptx presentationss
PDF
ITEC 1010 - Networks and Cloud Computing
PDF
B461227.pdf American Journal of Multidisciplinary Research and Review
PPT
linux chapter 1 learning operating system
PDF
Thesis of the Fruit Harvesting Robot .pdf
PPTX
22ME926Introduction to Business Intelligence and Analytics, Advanced Integrat...
PDF
Design and Implementation of Low-Cost Electric Vehicles (EVs) Supercharger: A...
PPTX
Electric vehicle very important for detailed information.pptx
PPTX
unit 1 computer graphics introduction types
PPTX
Cloud Security and Privacy-Module-2a.pptx
PDF
Recent Trends in Network Security - 2025
PDF
Water Supply and Sanitary Engineering Textbook
BBC NW_Tech Facilities_30 Odd Yrs Ago [J].pdf
Manual variador de corriente directa parker.pdf
Ingredients of concrete technology .pptx
Unit I - Mechatronics.pptx presentation
August 2025 Top read articles in International Journal of Database Managemen...
ForSee by Languify Teardown final product management
MODULE 3 SUSTAINABLE DEVELOPMENT GOALSPPT.pptx
Cloud Security and Privacy-Module-1.pptx
PPT-HEART-DISEASE[1].pptx presentationss
ITEC 1010 - Networks and Cloud Computing
B461227.pdf American Journal of Multidisciplinary Research and Review
linux chapter 1 learning operating system
Thesis of the Fruit Harvesting Robot .pdf
22ME926Introduction to Business Intelligence and Analytics, Advanced Integrat...
Design and Implementation of Low-Cost Electric Vehicles (EVs) Supercharger: A...
Electric vehicle very important for detailed information.pptx
unit 1 computer graphics introduction types
Cloud Security and Privacy-Module-2a.pptx
Recent Trends in Network Security - 2025
Water Supply and Sanitary Engineering Textbook

Dijkstra Algo, BFS, Bellman–Ford Algo, DFS