Dijkstra’s Algorithm
FOUNDED BY E.W. DIJKASTRA
Introduction
About The Creator
Edsger Wybe Dijkstra
1930-2002
“ Simplicity is
prerequisite for
reliability. ”
Definition
Dijkstra's algorithm is an algorithm for finding the shortest path
between nodes in a graph, which may represent, for example, road
networks. It was conceived by computer scientist Edsger W. Dijkstra
in 1956 and published in 1959.
The algorithm exists in many variants : Dijkstra's original variant
found the shortest path between two nodes , but a more common
variant fixes a single node as the "source" node and finds shortest
paths from the source to all other nodes in the graph, producing a
shortest path tree.
Importance
IN TODAY’S WORLD
1. Dijkstra’s algorithm is applied to automatically find
directions between physical locations, such as
driving directions on websites like Google Maps,
Bing Maps.
1. In many networking or telecommunication applications,
Dijkstra’s algorithm has been used for solving the min-delay
path problem (which is the shortest path problem). For example
in data network routing, the goal is to find the path for data
packets to go through a switching network with minimum delay.
Explanation
A F
E
D
C
B
5
2
3
3
2
5
4
3
6
A F
E
D
C
B
2
3
3
4
3
To
Problem Solution
Let’s write the Algorithm
DEMO........
https://github.com/pulkitgoel
96/Dijkstra-s-Algorithm.git
Examples
HOW THE ALGORITHM COULD BE USED.....
Disadvantages
TO DO: MAKE THEM ADVANTAGES
1.The major disadvantage of the algorithm is the
fact that it does a blind search there by
consuming a lot of time waste of necessary
resources.
2.Another disadvantage is that it cannot handle
negative edges. This leads to acyclic graphs and
most often cannot obtain the right shortest path.
References :
• http://en.wikipedia.org/wiki/Dijkstra%27s_algorithm
• http://en.wikipedia.org/wiki/Edsger_W._DijkstraWikipedia :
• http://www.codeproject.com/Articles/5707/Dijkstra-
AlgorithmCode project :
• http://en.wikiquote.org/wiki/Edsger_W._DijkstraWikiquote :
Presented by:
www.techniblogi
c.com
@pulkitgoel96
Nimish Gupta Pulkit Goel

Dijkastra’s algorithm

Editor's Notes

  • #5 Born (1930-05-11)11 May 1930 Rotterdam, Netherlands Died 6 August 2002(2002-08-06) (aged 72) Nuenen, Netherlands Known for Dijkstra's algorithm Structured programming THE multiprogramming system Semaphore Notable awards Turing Award (1972) Association for Computing Machinery Dijkstra Prize (2002)
  • #6 For a given source node in the graph, the algorithm finds the shortest path between that node and every other. It can also be used for finding the shortest paths from a single node to a single destination node by stopping the algorithm once the shortest path to the destination node has been determined.
  • #7 Importance of Dijkstra’s algorithm is in many more problems than you might can think, it can be cast in many shortest path problems, making Dijkstra’s algorithm a powerful and general tool.
  • #11 To do: Go from promlem to solution step by step on green board