SlideShare a Scribd company logo
Advance Data Structures
FAKHRE ALAM
PRN No. 170831180004
Roll No. 179305004
Improved Dijkstra’s Algorithm and its Application in
Intelligent Transportation System
Today
discussion
1.Introduction.
2.Algorithms of Bus Exchange.
2.1. Shortest path finding algorithm based on the graph theory.
2.2.Optimal path finding algorithm based on the least transfer.
2.3. Optimal path finding algorithm based on the Station Matrix.
3. Improvement of Dijkstra's algorithm.
3.1. What is Dijkstra’s Algorithm.
3.2. Improved Dijkstra's algorithm
4. Result analysis of Dijkstra's algorithm
5. Summary.
Introduction
As China's economic society gains dramatic development,
the public transportation system is increasingly expanded
and passenger information is the thing. To resolve this
problem, it calls for a convenient and rapid bus line inquiry
system. We analyses the strength and weakness of existing
algorithms of bus exchange and the modified graph-based
Dijkstra’s algorithm. The improved Dijkstra’s algorithm will
be applied to the bus line inquiry system providing transfer
services for passengers.
Shortest path finding
algorithm based on
the graph theory.
1
Optimal path finding
algorithm based on the
least transfer.
2
Optimal path finding
algorithm based on
the Station Matrix.
3
Algorithms of Bus Exchange
1. Shortest path finding algorithm based on the graph theory.
Shortest path finding algorithm
based on the graph theory is
processed as follows:
Abstract the entire public
transportation system as a road
network.
Find the shortest path from source
to target based on the classical
shortest path Dijkstra’s algorithm.
Convert the shortest path into bus
transfer scheme.
Strength and
Weakness of the
algorithm.
Strength
 Dijkstra's algorithm is of high efficiency when it is used to find
the shortest path between two short-distance nodes.
 The weight on the public transportation network graph can be set
flexibly.
Example
It can be set as the time consumed, including riding time and
waiting time or set as the distance. In this way, the path with
shorter time or distance will be found respectively.
Weakness
When N becomes larger, the
time complexity will be
increased accordingly,
causing the efficiency
unsatisfactory.
1
In the topological graph of
public transportation
network, the number of N
nodes is the same with the
number of bus stops.
2
It can only find the shortest
path from source to target.
That is, for a source node
and a destination node,
Dijkstra's algorithm will
provide only one optimal
path
3
2. Optimal path finding algorithm based on the least transfer
Whenever to transfer during the trip, passengers may walk to the stop and wait for the bus, all these consuming
time and energy. Therefore, the transfer times should be fully considered in the optimal path finding algorithm.
Algorithm
 When finding paths from the source to the destination, passengers search n transfer schemes (if n is equal to
zero, it means no transfer).
 If n transfer schemes are not found, then search n+1 transfer schemes;
 If the destination can be reached by n transfer from the source, the path finding algorithm will end with n
transfer schemes provided.
 When n>0, the transfer scheme will be searched through recursive algorithm. If search results give more than
one scheme, time or distance should be taken into account to choose the optimal one .
Algorithm Step
Algorithmic steps.
 Find all bus stops within W meter(s) of the source.
 Find all paths where stops near the source are located.
 Find all bus stops within W meter(s) of the destination.
 Find all paths where stops near the destination are located.
 Mark all paths where stops near the destination are located as
feasible paths to the destination.
 Find all paths where stops near the source are located.
 If there are some paths marked as "feasible", the transfer
scheme will be established.
 If there are no paths marked as "feasible", mark all paths
where all stops on each path which stops near the destination
are located on are located as feasible paths to the destination.
 Repeat the step (6). If the transfer scheme is still not found,
repeat the step (8) until the transfer scheme is found.
Strength and weakness of this algorithm.
Strength
 The recursive method is adopted on the basis of non-stop path to find multiple transfer paths, easy to realize.
 This algorithm centres on the same elements between two path sets or stop sets.
 Multiple n-transfer paths can be provided, meeting users' demands for alternative paths. Since paths are
listed according to the order of increase in transfer times, the first few ones will be the preferred paths with
the least transfer.
Weakness
 The time complexity grows exponentially with the increase of
transfer times .
 It means that finding paths with multiple transfers will take a long
time so that users cannot obtain the transfer path as soon as
possible.
 This algorithm only considers the transfer times, neglecting the
time and distance.
Continue..
3. Optimal path finding algorithm based on the station matrix
The transfer is an important indicator for users to consider in the public transportation
system. Based on this, a proper path can be found by building a transfer matrix of public
transportation network and using relevant algorithms. The transfer matrix shows the transfer
times for passengers to reach the destination from the source when they choose public
vehicles
Strength and weakness of this algorithm.
Strength
 No matter how the source and the destination are changed, the transfer matrix can be used universally without
repeated calculation, thus greatly increasing the efficiency of optimal path finding algorithm.
 Based on this algorithm, the path with the least transfer from the source to the destination can be visually
displayed, and passengers can also analyse the connectivity of the whole public transportation network.
 This algorithm takes the least transfer as its primary goal, meeting passengers' daily demands.
Weakness
 The urban transportation system and the bus stop remain changeable, the station-based transfer
matrix shall be updated regularly.
 Every time when the bus stop is changed, the matrix must re-calculate the transfer among all stops,
which costs a lot.
 With the increase in the number of bus stops, the station-based transfer matrix will become larger
and larger, reducing the efficiency in calculation, storage and acquisition of transfer matrix.
Improvement of Dijkstra's algorithm.
Dijkstra's algorithm, introduced by the
Dutch computer scientist , is a graph
searching algorithm.
Dijkstra’s algorithm is used to solve the
problems of finding the shortest path between
edge – weighted graphs in which all the weights
are non-negative
For a given source vertices it finds the lowest
cost(i.e. The shortest path) for every other
vertices
It can also be used to find the lowest cost for a particular
destination by the stopping the algorithm in between
What is Dijkstra’s
Algorithm
From the above algorithm analysis, it can be seen that the conventional Dijkstra's algorithm is used to
find the shortest path from a fixed source node to all other nodes in the graph G. While in the calculation
of the shortest path, we need to find the shortest path between any two nodes in the public transportation
network; therefore, it is essential to modify the conventional Dijkstra's algorithm.
Continue…..
Improved Dijkstra's algorithm
Dijkstra's algorithm is used to find the shortest path from a given source node to all other nodes in
the weighted graph. The shortest path between any two nodes in the weighted graph can be
calculated and it can be easily realized in computer. The revised algorithm is as follows:
Enter the source node s and the destination node d.
 Find a sub-node nearest to the source node from the V-set which contains all nodes in the
graph G.
 Traverse the length from this sub-node to the source node and determine the minimum value.
 Put this minimum value into W-set and this sub-node into S-set. Repeat the above steps until
V-set is empty or the destination node is found.
It is an example analysis of improved Dijkstra algorithm.
applied of improved Dijkstra algorithm to realize the shortest path between any two points. For example, the
shortest path of point 1 to 7 in Figure is 1 2 5 6 7, the shortest distance is 9. The shortest path of point 2 to 3 in
Figure is 2 1 3, the shortest distance is 7.
The shortest path and the shortest distance between each point in the weighted graph G are as
follows
Result analysis of Dijkstra's algorithm
The following indicates that there are 4 bus stations; the number represents the distance between each other:
The operation results are as follows
The above shows that the shortest distance between any two stations to reach and the transfer mode .
Real life applications of Dijkstra's Algorithm
1) It is used in Google Maps
2) It is used in finding Shortest Path.
3) It is used in geographical Maps
4) To find locations of Map which refers to vertices of graph.
5) Distance between the location refers to edges.
6) It is used in IP routing to find Open shortest Path First.
7) It is used in the telephone network.
Summary
Introduces several frequently-used optimal path finding algorithms and analyses their respective
strength and weakness. It also describes the conventional Dijkstra's algorithm and the modified
Dijkstra's algorithm. The modified Dijkstra's algorithm is with accuracy and feasibility proved.
Finally, I would like to extend my sincere gratitude to Guangdong Provincial Department of Science
and Technology for its funding by the project "Massive Key Technologies under the Cloud
Environment and their Applications in the Intelligent Transportation System" and colleagues for their
joint efforts.
References
 Improvement of Dijkstra’s Algorithm and Its Application in Route Planning
(http://ieeexplore.ieee.org/abstract/document/5569452/)
 Zhao Q X. Algorithms for Public Transit Trip with Minimal Transfer Times and Stops, Journal of
Computer Applications, 2004, 24(12), pp. 136-137..
 Ma C, Diao A, Chen Z, et al. Study on the hazardous blocked synthetic value and the optimization route
of hazardous material transportation network based on A-star algorithm.[J]. International Review for
Spatial Planning & Sustainable Development, 2011, 4(1), pp. 2292-2294.
 Liu N H. Music selection interface for car audio system using SOM with personal distance function[J].
EURASIP Journal on Audio, Speech, and Music Processing, 2013, 2013(1), pp. 1-15.
Fakhre alam

More Related Content

What's hot

(Icca 2014) shortest path analysis in social graphs
(Icca 2014) shortest path analysis in social graphs(Icca 2014) shortest path analysis in social graphs
(Icca 2014) shortest path analysis in social graphs
Waqas Nawaz
 
A COMPARISON BETWEEN SWARM INTELLIGENCE ALGORITHMS FOR ROUTING PROBLEMS
A COMPARISON BETWEEN SWARM INTELLIGENCE ALGORITHMS FOR ROUTING PROBLEMSA COMPARISON BETWEEN SWARM INTELLIGENCE ALGORITHMS FOR ROUTING PROBLEMS
A COMPARISON BETWEEN SWARM INTELLIGENCE ALGORITHMS FOR ROUTING PROBLEMS
ecij
 
Goldberg etal 2006
Goldberg etal 2006Goldberg etal 2006
Goldberg etal 2006
Adilson Torres
 
acmgis 2008
acmgis 2008acmgis 2008
acmgis 2008
Dalia Tiesyte
 
H0343059064
H0343059064H0343059064
H0343059064
ijceronline
 
Linear Regression Model Fitting and Implication to Self Similar Behavior Traf...
Linear Regression Model Fitting and Implication to Self Similar Behavior Traf...Linear Regression Model Fitting and Implication to Self Similar Behavior Traf...
Linear Regression Model Fitting and Implication to Self Similar Behavior Traf...
IOSRjournaljce
 
Routing in All-Optical Networks Using Recursive State Space Technique
Routing in All-Optical Networks Using Recursive State Space TechniqueRouting in All-Optical Networks Using Recursive State Space Technique
Routing in All-Optical Networks Using Recursive State Space Technique
sipij
 
Hybrid Ant Colony Optimization for Real-World Delivery Problems Based on Real...
Hybrid Ant Colony Optimization for Real-World Delivery Problems Based on Real...Hybrid Ant Colony Optimization for Real-World Delivery Problems Based on Real...
Hybrid Ant Colony Optimization for Real-World Delivery Problems Based on Real...
csandit
 
Network Analysis
Network AnalysisNetwork Analysis
Network Analysis
ami_01
 
Random walks and green
Random walks and greenRandom walks and green
Random walks and green
IMPULSE_TECHNOLOGY
 
DORA: Server Based VANETs and its Applications
DORA: Server Based VANETs and its ApplicationsDORA: Server Based VANETs and its Applications
DORA: Server Based VANETs and its Applications
IRJET Journal
 
Short term traffic volume prediction in umts networks using the kalman filter...
Short term traffic volume prediction in umts networks using the kalman filter...Short term traffic volume prediction in umts networks using the kalman filter...
Short term traffic volume prediction in umts networks using the kalman filter...
ijmnct
 
ANGLE ROUTING:A FULLY ADAPTIVE PACKET ROUTING FOR NOC
ANGLE ROUTING:A FULLY ADAPTIVE PACKET ROUTING FOR NOCANGLE ROUTING:A FULLY ADAPTIVE PACKET ROUTING FOR NOC
ANGLE ROUTING:A FULLY ADAPTIVE PACKET ROUTING FOR NOC
ijcsa
 
A novel delay dictionary design for compressive sensing-based time varying ch...
A novel delay dictionary design for compressive sensing-based time varying ch...A novel delay dictionary design for compressive sensing-based time varying ch...
A novel delay dictionary design for compressive sensing-based time varying ch...
TELKOMNIKA JOURNAL
 
Location and Mobility Aware Resource Management for 5G Cloud Radio Access Net...
Location and Mobility Aware Resource Management for 5G Cloud Radio Access Net...Location and Mobility Aware Resource Management for 5G Cloud Radio Access Net...
Location and Mobility Aware Resource Management for 5G Cloud Radio Access Net...
Md Nazrul Islam Roxy
 
Analyzing the performance of the dynamic
Analyzing the performance of the dynamicAnalyzing the performance of the dynamic
Analyzing the performance of the dynamic
IJCNCJournal
 
Implementing Map Reduce Based Edmonds-Karp Algorithm to Determine Maximum Flo...
Implementing Map Reduce Based Edmonds-Karp Algorithm to Determine Maximum Flo...Implementing Map Reduce Based Edmonds-Karp Algorithm to Determine Maximum Flo...
Implementing Map Reduce Based Edmonds-Karp Algorithm to Determine Maximum Flo...
paperpublications3
 
Search Path Algorithm
Search Path AlgorithmSearch Path Algorithm
Search Path Algorithm
GOKUL SARATHY
 
artifical intelligence final paper
artifical intelligence final paperartifical intelligence final paper
artifical intelligence final paper
shiva karthik reddy koyya
 

What's hot (19)

(Icca 2014) shortest path analysis in social graphs
(Icca 2014) shortest path analysis in social graphs(Icca 2014) shortest path analysis in social graphs
(Icca 2014) shortest path analysis in social graphs
 
A COMPARISON BETWEEN SWARM INTELLIGENCE ALGORITHMS FOR ROUTING PROBLEMS
A COMPARISON BETWEEN SWARM INTELLIGENCE ALGORITHMS FOR ROUTING PROBLEMSA COMPARISON BETWEEN SWARM INTELLIGENCE ALGORITHMS FOR ROUTING PROBLEMS
A COMPARISON BETWEEN SWARM INTELLIGENCE ALGORITHMS FOR ROUTING PROBLEMS
 
Goldberg etal 2006
Goldberg etal 2006Goldberg etal 2006
Goldberg etal 2006
 
acmgis 2008
acmgis 2008acmgis 2008
acmgis 2008
 
H0343059064
H0343059064H0343059064
H0343059064
 
Linear Regression Model Fitting and Implication to Self Similar Behavior Traf...
Linear Regression Model Fitting and Implication to Self Similar Behavior Traf...Linear Regression Model Fitting and Implication to Self Similar Behavior Traf...
Linear Regression Model Fitting and Implication to Self Similar Behavior Traf...
 
Routing in All-Optical Networks Using Recursive State Space Technique
Routing in All-Optical Networks Using Recursive State Space TechniqueRouting in All-Optical Networks Using Recursive State Space Technique
Routing in All-Optical Networks Using Recursive State Space Technique
 
Hybrid Ant Colony Optimization for Real-World Delivery Problems Based on Real...
Hybrid Ant Colony Optimization for Real-World Delivery Problems Based on Real...Hybrid Ant Colony Optimization for Real-World Delivery Problems Based on Real...
Hybrid Ant Colony Optimization for Real-World Delivery Problems Based on Real...
 
Network Analysis
Network AnalysisNetwork Analysis
Network Analysis
 
Random walks and green
Random walks and greenRandom walks and green
Random walks and green
 
DORA: Server Based VANETs and its Applications
DORA: Server Based VANETs and its ApplicationsDORA: Server Based VANETs and its Applications
DORA: Server Based VANETs and its Applications
 
Short term traffic volume prediction in umts networks using the kalman filter...
Short term traffic volume prediction in umts networks using the kalman filter...Short term traffic volume prediction in umts networks using the kalman filter...
Short term traffic volume prediction in umts networks using the kalman filter...
 
ANGLE ROUTING:A FULLY ADAPTIVE PACKET ROUTING FOR NOC
ANGLE ROUTING:A FULLY ADAPTIVE PACKET ROUTING FOR NOCANGLE ROUTING:A FULLY ADAPTIVE PACKET ROUTING FOR NOC
ANGLE ROUTING:A FULLY ADAPTIVE PACKET ROUTING FOR NOC
 
A novel delay dictionary design for compressive sensing-based time varying ch...
A novel delay dictionary design for compressive sensing-based time varying ch...A novel delay dictionary design for compressive sensing-based time varying ch...
A novel delay dictionary design for compressive sensing-based time varying ch...
 
Location and Mobility Aware Resource Management for 5G Cloud Radio Access Net...
Location and Mobility Aware Resource Management for 5G Cloud Radio Access Net...Location and Mobility Aware Resource Management for 5G Cloud Radio Access Net...
Location and Mobility Aware Resource Management for 5G Cloud Radio Access Net...
 
Analyzing the performance of the dynamic
Analyzing the performance of the dynamicAnalyzing the performance of the dynamic
Analyzing the performance of the dynamic
 
Implementing Map Reduce Based Edmonds-Karp Algorithm to Determine Maximum Flo...
Implementing Map Reduce Based Edmonds-Karp Algorithm to Determine Maximum Flo...Implementing Map Reduce Based Edmonds-Karp Algorithm to Determine Maximum Flo...
Implementing Map Reduce Based Edmonds-Karp Algorithm to Determine Maximum Flo...
 
Search Path Algorithm
Search Path AlgorithmSearch Path Algorithm
Search Path Algorithm
 
artifical intelligence final paper
artifical intelligence final paperartifical intelligence final paper
artifical intelligence final paper
 

Similar to Fakhre alam

Network Layer
Network LayerNetwork Layer
Network Layer
reshmadayma
 
Network Layer
Network LayerNetwork Layer
Network Layer
reshmadayma
 
COMPUTER NETWORKS CHAPTER 3 NETWORK LAYER NOTES CSE 3RD year sem 1
COMPUTER NETWORKS CHAPTER 3 NETWORK LAYER NOTES CSE 3RD year sem 1COMPUTER NETWORKS CHAPTER 3 NETWORK LAYER NOTES CSE 3RD year sem 1
COMPUTER NETWORKS CHAPTER 3 NETWORK LAYER NOTES CSE 3RD year sem 1
aishwaryaarrao3
 
AbstractWe design an software to find optimal(shortest) path .docx
AbstractWe design an software to find optimal(shortest) path .docxAbstractWe design an software to find optimal(shortest) path .docx
AbstractWe design an software to find optimal(shortest) path .docx
aryan532920
 
Urban Bus Route Planning Using Reverse Labeling Dijkstra Algorithm for Tempor...
Urban Bus Route Planning Using Reverse Labeling Dijkstra Algorithm for Tempor...Urban Bus Route Planning Using Reverse Labeling Dijkstra Algorithm for Tempor...
Urban Bus Route Planning Using Reverse Labeling Dijkstra Algorithm for Tempor...
IRJET Journal
 
E017512630
E017512630E017512630
E017512630
IOSR Journals
 
Improvement Of A Shortest Routes Algorithm
Improvement Of A Shortest Routes AlgorithmImprovement Of A Shortest Routes Algorithm
Improvement Of A Shortest Routes Algorithm
प्रणव भारती
 
IRJET- Bidirectional Graph Search Techniques for Finding Shortest Path in Ima...
IRJET- Bidirectional Graph Search Techniques for Finding Shortest Path in Ima...IRJET- Bidirectional Graph Search Techniques for Finding Shortest Path in Ima...
IRJET- Bidirectional Graph Search Techniques for Finding Shortest Path in Ima...
IRJET Journal
 
Solving QoS multicast routing problem using ACO algorithm
Solving QoS multicast routing problem using ACO algorithmSolving QoS multicast routing problem using ACO algorithm
Solving QoS multicast routing problem using ACO algorithm
Abdullaziz Tagawy
 
AN EFFECT OF USING A STORAGE MEDIUM IN DIJKSTRA ALGORITHM PERFORMANCE FOR IDE...
AN EFFECT OF USING A STORAGE MEDIUM IN DIJKSTRA ALGORITHM PERFORMANCE FOR IDE...AN EFFECT OF USING A STORAGE MEDIUM IN DIJKSTRA ALGORITHM PERFORMANCE FOR IDE...
AN EFFECT OF USING A STORAGE MEDIUM IN DIJKSTRA ALGORITHM PERFORMANCE FOR IDE...
ijcsit
 
Simulation of Route Optimization with load balancing Using AntNet System
Simulation of Route Optimization with load balancing Using AntNet SystemSimulation of Route Optimization with load balancing Using AntNet System
Simulation of Route Optimization with load balancing Using AntNet System
IOSR Journals
 
Ijtra130510
Ijtra130510Ijtra130510
Spanning Tree in data structure and .pptx
Spanning Tree in data structure and .pptxSpanning Tree in data structure and .pptx
Spanning Tree in data structure and .pptx
asimshahzad8611
 
Traffic assignment
Traffic assignmentTraffic assignment
Traffic assignment
MNIT,JAIPUR
 
dsa.pptx
dsa.pptxdsa.pptx
Network layer new
Network layer newNetwork layer new
Network layer new
reshmadayma
 
B04010 03 0914
B04010 03 0914B04010 03 0914
B04010 03 0914
IJMER
 
Methods of route assignment
Methods of route assignmentMethods of route assignment
Methods of route assignment
Kathan Sindhvad
 
A survey of geographic routing protocols for Vehicular Ad Hoc Networks (VANETs)
A survey of geographic routing protocols for Vehicular Ad Hoc Networks (VANETs)A survey of geographic routing protocols for Vehicular Ad Hoc Networks (VANETs)
A survey of geographic routing protocols for Vehicular Ad Hoc Networks (VANETs)
Gabriel Balderas
 
Dijkstra’S Algorithm
Dijkstra’S AlgorithmDijkstra’S Algorithm
Dijkstra’S Algorithm
ami_01
 

Similar to Fakhre alam (20)

Network Layer
Network LayerNetwork Layer
Network Layer
 
Network Layer
Network LayerNetwork Layer
Network Layer
 
COMPUTER NETWORKS CHAPTER 3 NETWORK LAYER NOTES CSE 3RD year sem 1
COMPUTER NETWORKS CHAPTER 3 NETWORK LAYER NOTES CSE 3RD year sem 1COMPUTER NETWORKS CHAPTER 3 NETWORK LAYER NOTES CSE 3RD year sem 1
COMPUTER NETWORKS CHAPTER 3 NETWORK LAYER NOTES CSE 3RD year sem 1
 
AbstractWe design an software to find optimal(shortest) path .docx
AbstractWe design an software to find optimal(shortest) path .docxAbstractWe design an software to find optimal(shortest) path .docx
AbstractWe design an software to find optimal(shortest) path .docx
 
Urban Bus Route Planning Using Reverse Labeling Dijkstra Algorithm for Tempor...
Urban Bus Route Planning Using Reverse Labeling Dijkstra Algorithm for Tempor...Urban Bus Route Planning Using Reverse Labeling Dijkstra Algorithm for Tempor...
Urban Bus Route Planning Using Reverse Labeling Dijkstra Algorithm for Tempor...
 
E017512630
E017512630E017512630
E017512630
 
Improvement Of A Shortest Routes Algorithm
Improvement Of A Shortest Routes AlgorithmImprovement Of A Shortest Routes Algorithm
Improvement Of A Shortest Routes Algorithm
 
IRJET- Bidirectional Graph Search Techniques for Finding Shortest Path in Ima...
IRJET- Bidirectional Graph Search Techniques for Finding Shortest Path in Ima...IRJET- Bidirectional Graph Search Techniques for Finding Shortest Path in Ima...
IRJET- Bidirectional Graph Search Techniques for Finding Shortest Path in Ima...
 
Solving QoS multicast routing problem using ACO algorithm
Solving QoS multicast routing problem using ACO algorithmSolving QoS multicast routing problem using ACO algorithm
Solving QoS multicast routing problem using ACO algorithm
 
AN EFFECT OF USING A STORAGE MEDIUM IN DIJKSTRA ALGORITHM PERFORMANCE FOR IDE...
AN EFFECT OF USING A STORAGE MEDIUM IN DIJKSTRA ALGORITHM PERFORMANCE FOR IDE...AN EFFECT OF USING A STORAGE MEDIUM IN DIJKSTRA ALGORITHM PERFORMANCE FOR IDE...
AN EFFECT OF USING A STORAGE MEDIUM IN DIJKSTRA ALGORITHM PERFORMANCE FOR IDE...
 
Simulation of Route Optimization with load balancing Using AntNet System
Simulation of Route Optimization with load balancing Using AntNet SystemSimulation of Route Optimization with load balancing Using AntNet System
Simulation of Route Optimization with load balancing Using AntNet System
 
Ijtra130510
Ijtra130510Ijtra130510
Ijtra130510
 
Spanning Tree in data structure and .pptx
Spanning Tree in data structure and .pptxSpanning Tree in data structure and .pptx
Spanning Tree in data structure and .pptx
 
Traffic assignment
Traffic assignmentTraffic assignment
Traffic assignment
 
dsa.pptx
dsa.pptxdsa.pptx
dsa.pptx
 
Network layer new
Network layer newNetwork layer new
Network layer new
 
B04010 03 0914
B04010 03 0914B04010 03 0914
B04010 03 0914
 
Methods of route assignment
Methods of route assignmentMethods of route assignment
Methods of route assignment
 
A survey of geographic routing protocols for Vehicular Ad Hoc Networks (VANETs)
A survey of geographic routing protocols for Vehicular Ad Hoc Networks (VANETs)A survey of geographic routing protocols for Vehicular Ad Hoc Networks (VANETs)
A survey of geographic routing protocols for Vehicular Ad Hoc Networks (VANETs)
 
Dijkstra’S Algorithm
Dijkstra’S AlgorithmDijkstra’S Algorithm
Dijkstra’S Algorithm
 

Recently uploaded

End-to-end pipeline agility - Berlin Buzzwords 2024
End-to-end pipeline agility - Berlin Buzzwords 2024End-to-end pipeline agility - Berlin Buzzwords 2024
End-to-end pipeline agility - Berlin Buzzwords 2024
Lars Albertsson
 
Analysis insight about a Flyball dog competition team's performance
Analysis insight about a Flyball dog competition team's performanceAnalysis insight about a Flyball dog competition team's performance
Analysis insight about a Flyball dog competition team's performance
roli9797
 
一比一原版(牛布毕业证书)牛津布鲁克斯大学毕业证如何办理
一比一原版(牛布毕业证书)牛津布鲁克斯大学毕业证如何办理一比一原版(牛布毕业证书)牛津布鲁克斯大学毕业证如何办理
一比一原版(牛布毕业证书)牛津布鲁克斯大学毕业证如何办理
74nqk8xf
 
一比一原版(爱大毕业证书)爱丁堡大学毕业证如何办理
一比一原版(爱大毕业证书)爱丁堡大学毕业证如何办理一比一原版(爱大毕业证书)爱丁堡大学毕业证如何办理
一比一原版(爱大毕业证书)爱丁堡大学毕业证如何办理
g4dpvqap0
 
A presentation that explain the Power BI Licensing
A presentation that explain the Power BI LicensingA presentation that explain the Power BI Licensing
A presentation that explain the Power BI Licensing
AlessioFois2
 
一比一原版(Glasgow毕业证书)格拉斯哥大学毕业证如何办理
一比一原版(Glasgow毕业证书)格拉斯哥大学毕业证如何办理一比一原版(Glasgow毕业证书)格拉斯哥大学毕业证如何办理
一比一原版(Glasgow毕业证书)格拉斯哥大学毕业证如何办理
g4dpvqap0
 
06-12-2024-BudapestDataForum-BuildingReal-timePipelineswithFLaNK AIM
06-12-2024-BudapestDataForum-BuildingReal-timePipelineswithFLaNK AIM06-12-2024-BudapestDataForum-BuildingReal-timePipelineswithFLaNK AIM
06-12-2024-BudapestDataForum-BuildingReal-timePipelineswithFLaNK AIM
Timothy Spann
 
State of Artificial intelligence Report 2023
State of Artificial intelligence Report 2023State of Artificial intelligence Report 2023
State of Artificial intelligence Report 2023
kuntobimo2016
 
一比一原版(GWU,GW文凭证书)乔治·华盛顿大学毕业证如何办理
一比一原版(GWU,GW文凭证书)乔治·华盛顿大学毕业证如何办理一比一原版(GWU,GW文凭证书)乔治·华盛顿大学毕业证如何办理
一比一原版(GWU,GW文凭证书)乔治·华盛顿大学毕业证如何办理
bopyb
 
Influence of Marketing Strategy and Market Competition on Business Plan
Influence of Marketing Strategy and Market Competition on Business PlanInfluence of Marketing Strategy and Market Competition on Business Plan
Influence of Marketing Strategy and Market Competition on Business Plan
jerlynmaetalle
 
University of New South Wales degree offer diploma Transcript
University of New South Wales degree offer diploma TranscriptUniversity of New South Wales degree offer diploma Transcript
University of New South Wales degree offer diploma Transcript
soxrziqu
 
Beyond the Basics of A/B Tests: Highly Innovative Experimentation Tactics You...
Beyond the Basics of A/B Tests: Highly Innovative Experimentation Tactics You...Beyond the Basics of A/B Tests: Highly Innovative Experimentation Tactics You...
Beyond the Basics of A/B Tests: Highly Innovative Experimentation Tactics You...
Aggregage
 
一比一原版(UO毕业证)渥太华大学毕业证如何办理
一比一原版(UO毕业证)渥太华大学毕业证如何办理一比一原版(UO毕业证)渥太华大学毕业证如何办理
一比一原版(UO毕业证)渥太华大学毕业证如何办理
aqzctr7x
 
一比一原版(UCSB文凭证书)圣芭芭拉分校毕业证如何办理
一比一原版(UCSB文凭证书)圣芭芭拉分校毕业证如何办理一比一原版(UCSB文凭证书)圣芭芭拉分校毕业证如何办理
一比一原版(UCSB文凭证书)圣芭芭拉分校毕业证如何办理
nuttdpt
 
Experts live - Improving user adoption with AI
Experts live - Improving user adoption with AIExperts live - Improving user adoption with AI
Experts live - Improving user adoption with AI
jitskeb
 
4th Modern Marketing Reckoner by MMA Global India & Group M: 60+ experts on W...
4th Modern Marketing Reckoner by MMA Global India & Group M: 60+ experts on W...4th Modern Marketing Reckoner by MMA Global India & Group M: 60+ experts on W...
4th Modern Marketing Reckoner by MMA Global India & Group M: 60+ experts on W...
Social Samosa
 
06-04-2024 - NYC Tech Week - Discussion on Vector Databases, Unstructured Dat...
06-04-2024 - NYC Tech Week - Discussion on Vector Databases, Unstructured Dat...06-04-2024 - NYC Tech Week - Discussion on Vector Databases, Unstructured Dat...
06-04-2024 - NYC Tech Week - Discussion on Vector Databases, Unstructured Dat...
Timothy Spann
 
一比一原版(UMN文凭证书)明尼苏达大学毕业证如何办理
一比一原版(UMN文凭证书)明尼苏达大学毕业证如何办理一比一原版(UMN文凭证书)明尼苏达大学毕业证如何办理
一比一原版(UMN文凭证书)明尼苏达大学毕业证如何办理
nyfuhyz
 
Population Growth in Bataan: The effects of population growth around rural pl...
Population Growth in Bataan: The effects of population growth around rural pl...Population Growth in Bataan: The effects of population growth around rural pl...
Population Growth in Bataan: The effects of population growth around rural pl...
Bill641377
 
My burning issue is homelessness K.C.M.O.
My burning issue is homelessness K.C.M.O.My burning issue is homelessness K.C.M.O.
My burning issue is homelessness K.C.M.O.
rwarrenll
 

Recently uploaded (20)

End-to-end pipeline agility - Berlin Buzzwords 2024
End-to-end pipeline agility - Berlin Buzzwords 2024End-to-end pipeline agility - Berlin Buzzwords 2024
End-to-end pipeline agility - Berlin Buzzwords 2024
 
Analysis insight about a Flyball dog competition team's performance
Analysis insight about a Flyball dog competition team's performanceAnalysis insight about a Flyball dog competition team's performance
Analysis insight about a Flyball dog competition team's performance
 
一比一原版(牛布毕业证书)牛津布鲁克斯大学毕业证如何办理
一比一原版(牛布毕业证书)牛津布鲁克斯大学毕业证如何办理一比一原版(牛布毕业证书)牛津布鲁克斯大学毕业证如何办理
一比一原版(牛布毕业证书)牛津布鲁克斯大学毕业证如何办理
 
一比一原版(爱大毕业证书)爱丁堡大学毕业证如何办理
一比一原版(爱大毕业证书)爱丁堡大学毕业证如何办理一比一原版(爱大毕业证书)爱丁堡大学毕业证如何办理
一比一原版(爱大毕业证书)爱丁堡大学毕业证如何办理
 
A presentation that explain the Power BI Licensing
A presentation that explain the Power BI LicensingA presentation that explain the Power BI Licensing
A presentation that explain the Power BI Licensing
 
一比一原版(Glasgow毕业证书)格拉斯哥大学毕业证如何办理
一比一原版(Glasgow毕业证书)格拉斯哥大学毕业证如何办理一比一原版(Glasgow毕业证书)格拉斯哥大学毕业证如何办理
一比一原版(Glasgow毕业证书)格拉斯哥大学毕业证如何办理
 
06-12-2024-BudapestDataForum-BuildingReal-timePipelineswithFLaNK AIM
06-12-2024-BudapestDataForum-BuildingReal-timePipelineswithFLaNK AIM06-12-2024-BudapestDataForum-BuildingReal-timePipelineswithFLaNK AIM
06-12-2024-BudapestDataForum-BuildingReal-timePipelineswithFLaNK AIM
 
State of Artificial intelligence Report 2023
State of Artificial intelligence Report 2023State of Artificial intelligence Report 2023
State of Artificial intelligence Report 2023
 
一比一原版(GWU,GW文凭证书)乔治·华盛顿大学毕业证如何办理
一比一原版(GWU,GW文凭证书)乔治·华盛顿大学毕业证如何办理一比一原版(GWU,GW文凭证书)乔治·华盛顿大学毕业证如何办理
一比一原版(GWU,GW文凭证书)乔治·华盛顿大学毕业证如何办理
 
Influence of Marketing Strategy and Market Competition on Business Plan
Influence of Marketing Strategy and Market Competition on Business PlanInfluence of Marketing Strategy and Market Competition on Business Plan
Influence of Marketing Strategy and Market Competition on Business Plan
 
University of New South Wales degree offer diploma Transcript
University of New South Wales degree offer diploma TranscriptUniversity of New South Wales degree offer diploma Transcript
University of New South Wales degree offer diploma Transcript
 
Beyond the Basics of A/B Tests: Highly Innovative Experimentation Tactics You...
Beyond the Basics of A/B Tests: Highly Innovative Experimentation Tactics You...Beyond the Basics of A/B Tests: Highly Innovative Experimentation Tactics You...
Beyond the Basics of A/B Tests: Highly Innovative Experimentation Tactics You...
 
一比一原版(UO毕业证)渥太华大学毕业证如何办理
一比一原版(UO毕业证)渥太华大学毕业证如何办理一比一原版(UO毕业证)渥太华大学毕业证如何办理
一比一原版(UO毕业证)渥太华大学毕业证如何办理
 
一比一原版(UCSB文凭证书)圣芭芭拉分校毕业证如何办理
一比一原版(UCSB文凭证书)圣芭芭拉分校毕业证如何办理一比一原版(UCSB文凭证书)圣芭芭拉分校毕业证如何办理
一比一原版(UCSB文凭证书)圣芭芭拉分校毕业证如何办理
 
Experts live - Improving user adoption with AI
Experts live - Improving user adoption with AIExperts live - Improving user adoption with AI
Experts live - Improving user adoption with AI
 
4th Modern Marketing Reckoner by MMA Global India & Group M: 60+ experts on W...
4th Modern Marketing Reckoner by MMA Global India & Group M: 60+ experts on W...4th Modern Marketing Reckoner by MMA Global India & Group M: 60+ experts on W...
4th Modern Marketing Reckoner by MMA Global India & Group M: 60+ experts on W...
 
06-04-2024 - NYC Tech Week - Discussion on Vector Databases, Unstructured Dat...
06-04-2024 - NYC Tech Week - Discussion on Vector Databases, Unstructured Dat...06-04-2024 - NYC Tech Week - Discussion on Vector Databases, Unstructured Dat...
06-04-2024 - NYC Tech Week - Discussion on Vector Databases, Unstructured Dat...
 
一比一原版(UMN文凭证书)明尼苏达大学毕业证如何办理
一比一原版(UMN文凭证书)明尼苏达大学毕业证如何办理一比一原版(UMN文凭证书)明尼苏达大学毕业证如何办理
一比一原版(UMN文凭证书)明尼苏达大学毕业证如何办理
 
Population Growth in Bataan: The effects of population growth around rural pl...
Population Growth in Bataan: The effects of population growth around rural pl...Population Growth in Bataan: The effects of population growth around rural pl...
Population Growth in Bataan: The effects of population growth around rural pl...
 
My burning issue is homelessness K.C.M.O.
My burning issue is homelessness K.C.M.O.My burning issue is homelessness K.C.M.O.
My burning issue is homelessness K.C.M.O.
 

Fakhre alam

  • 1. Advance Data Structures FAKHRE ALAM PRN No. 170831180004 Roll No. 179305004
  • 2. Improved Dijkstra’s Algorithm and its Application in Intelligent Transportation System
  • 3. Today discussion 1.Introduction. 2.Algorithms of Bus Exchange. 2.1. Shortest path finding algorithm based on the graph theory. 2.2.Optimal path finding algorithm based on the least transfer. 2.3. Optimal path finding algorithm based on the Station Matrix. 3. Improvement of Dijkstra's algorithm. 3.1. What is Dijkstra’s Algorithm. 3.2. Improved Dijkstra's algorithm 4. Result analysis of Dijkstra's algorithm 5. Summary.
  • 4. Introduction As China's economic society gains dramatic development, the public transportation system is increasingly expanded and passenger information is the thing. To resolve this problem, it calls for a convenient and rapid bus line inquiry system. We analyses the strength and weakness of existing algorithms of bus exchange and the modified graph-based Dijkstra’s algorithm. The improved Dijkstra’s algorithm will be applied to the bus line inquiry system providing transfer services for passengers.
  • 5. Shortest path finding algorithm based on the graph theory. 1 Optimal path finding algorithm based on the least transfer. 2 Optimal path finding algorithm based on the Station Matrix. 3 Algorithms of Bus Exchange
  • 6. 1. Shortest path finding algorithm based on the graph theory. Shortest path finding algorithm based on the graph theory is processed as follows: Abstract the entire public transportation system as a road network. Find the shortest path from source to target based on the classical shortest path Dijkstra’s algorithm. Convert the shortest path into bus transfer scheme.
  • 7. Strength and Weakness of the algorithm. Strength  Dijkstra's algorithm is of high efficiency when it is used to find the shortest path between two short-distance nodes.  The weight on the public transportation network graph can be set flexibly. Example It can be set as the time consumed, including riding time and waiting time or set as the distance. In this way, the path with shorter time or distance will be found respectively.
  • 8. Weakness When N becomes larger, the time complexity will be increased accordingly, causing the efficiency unsatisfactory. 1 In the topological graph of public transportation network, the number of N nodes is the same with the number of bus stops. 2 It can only find the shortest path from source to target. That is, for a source node and a destination node, Dijkstra's algorithm will provide only one optimal path 3
  • 9. 2. Optimal path finding algorithm based on the least transfer Whenever to transfer during the trip, passengers may walk to the stop and wait for the bus, all these consuming time and energy. Therefore, the transfer times should be fully considered in the optimal path finding algorithm. Algorithm  When finding paths from the source to the destination, passengers search n transfer schemes (if n is equal to zero, it means no transfer).  If n transfer schemes are not found, then search n+1 transfer schemes;  If the destination can be reached by n transfer from the source, the path finding algorithm will end with n transfer schemes provided.  When n>0, the transfer scheme will be searched through recursive algorithm. If search results give more than one scheme, time or distance should be taken into account to choose the optimal one .
  • 10. Algorithm Step Algorithmic steps.  Find all bus stops within W meter(s) of the source.  Find all paths where stops near the source are located.  Find all bus stops within W meter(s) of the destination.  Find all paths where stops near the destination are located.  Mark all paths where stops near the destination are located as feasible paths to the destination.  Find all paths where stops near the source are located.  If there are some paths marked as "feasible", the transfer scheme will be established.  If there are no paths marked as "feasible", mark all paths where all stops on each path which stops near the destination are located on are located as feasible paths to the destination.  Repeat the step (6). If the transfer scheme is still not found, repeat the step (8) until the transfer scheme is found.
  • 11. Strength and weakness of this algorithm. Strength  The recursive method is adopted on the basis of non-stop path to find multiple transfer paths, easy to realize.  This algorithm centres on the same elements between two path sets or stop sets.  Multiple n-transfer paths can be provided, meeting users' demands for alternative paths. Since paths are listed according to the order of increase in transfer times, the first few ones will be the preferred paths with the least transfer.
  • 12. Weakness  The time complexity grows exponentially with the increase of transfer times .  It means that finding paths with multiple transfers will take a long time so that users cannot obtain the transfer path as soon as possible.  This algorithm only considers the transfer times, neglecting the time and distance. Continue..
  • 13. 3. Optimal path finding algorithm based on the station matrix The transfer is an important indicator for users to consider in the public transportation system. Based on this, a proper path can be found by building a transfer matrix of public transportation network and using relevant algorithms. The transfer matrix shows the transfer times for passengers to reach the destination from the source when they choose public vehicles
  • 14. Strength and weakness of this algorithm. Strength  No matter how the source and the destination are changed, the transfer matrix can be used universally without repeated calculation, thus greatly increasing the efficiency of optimal path finding algorithm.  Based on this algorithm, the path with the least transfer from the source to the destination can be visually displayed, and passengers can also analyse the connectivity of the whole public transportation network.  This algorithm takes the least transfer as its primary goal, meeting passengers' daily demands.
  • 15. Weakness  The urban transportation system and the bus stop remain changeable, the station-based transfer matrix shall be updated regularly.  Every time when the bus stop is changed, the matrix must re-calculate the transfer among all stops, which costs a lot.  With the increase in the number of bus stops, the station-based transfer matrix will become larger and larger, reducing the efficiency in calculation, storage and acquisition of transfer matrix.
  • 17. Dijkstra's algorithm, introduced by the Dutch computer scientist , is a graph searching algorithm. Dijkstra’s algorithm is used to solve the problems of finding the shortest path between edge – weighted graphs in which all the weights are non-negative For a given source vertices it finds the lowest cost(i.e. The shortest path) for every other vertices It can also be used to find the lowest cost for a particular destination by the stopping the algorithm in between What is Dijkstra’s Algorithm
  • 18. From the above algorithm analysis, it can be seen that the conventional Dijkstra's algorithm is used to find the shortest path from a fixed source node to all other nodes in the graph G. While in the calculation of the shortest path, we need to find the shortest path between any two nodes in the public transportation network; therefore, it is essential to modify the conventional Dijkstra's algorithm. Continue…..
  • 19. Improved Dijkstra's algorithm Dijkstra's algorithm is used to find the shortest path from a given source node to all other nodes in the weighted graph. The shortest path between any two nodes in the weighted graph can be calculated and it can be easily realized in computer. The revised algorithm is as follows: Enter the source node s and the destination node d.  Find a sub-node nearest to the source node from the V-set which contains all nodes in the graph G.  Traverse the length from this sub-node to the source node and determine the minimum value.  Put this minimum value into W-set and this sub-node into S-set. Repeat the above steps until V-set is empty or the destination node is found.
  • 20. It is an example analysis of improved Dijkstra algorithm. applied of improved Dijkstra algorithm to realize the shortest path between any two points. For example, the shortest path of point 1 to 7 in Figure is 1 2 5 6 7, the shortest distance is 9. The shortest path of point 2 to 3 in Figure is 2 1 3, the shortest distance is 7.
  • 21. The shortest path and the shortest distance between each point in the weighted graph G are as follows
  • 22. Result analysis of Dijkstra's algorithm The following indicates that there are 4 bus stations; the number represents the distance between each other:
  • 23. The operation results are as follows The above shows that the shortest distance between any two stations to reach and the transfer mode .
  • 24. Real life applications of Dijkstra's Algorithm 1) It is used in Google Maps 2) It is used in finding Shortest Path. 3) It is used in geographical Maps 4) To find locations of Map which refers to vertices of graph. 5) Distance between the location refers to edges. 6) It is used in IP routing to find Open shortest Path First. 7) It is used in the telephone network.
  • 25. Summary Introduces several frequently-used optimal path finding algorithms and analyses their respective strength and weakness. It also describes the conventional Dijkstra's algorithm and the modified Dijkstra's algorithm. The modified Dijkstra's algorithm is with accuracy and feasibility proved. Finally, I would like to extend my sincere gratitude to Guangdong Provincial Department of Science and Technology for its funding by the project "Massive Key Technologies under the Cloud Environment and their Applications in the Intelligent Transportation System" and colleagues for their joint efforts.
  • 26. References  Improvement of Dijkstra’s Algorithm and Its Application in Route Planning (http://ieeexplore.ieee.org/abstract/document/5569452/)  Zhao Q X. Algorithms for Public Transit Trip with Minimal Transfer Times and Stops, Journal of Computer Applications, 2004, 24(12), pp. 136-137..  Ma C, Diao A, Chen Z, et al. Study on the hazardous blocked synthetic value and the optimization route of hazardous material transportation network based on A-star algorithm.[J]. International Review for Spatial Planning & Sustainable Development, 2011, 4(1), pp. 2292-2294.  Liu N H. Music selection interface for car audio system using SOM with personal distance function[J]. EURASIP Journal on Audio, Speech, and Music Processing, 2013, 2013(1), pp. 1-15.