scholarly journals Shortest Path with Dynamic Weight Implementation using Dijkstra’s Algorithm

Author(s):  
Elizabeth Nurmiyati Tamatjita ◽  
Aditya Wikan Mahastama

Shortest path algorithms have been long applied to solve daily problems by selecting the most feasible route with minimum cost or time. However, some of the problems are not simple. This study applied the case using Dijkstra's algorithm on a graph representing street routes with two possible digraphs: one-way and twoway. Each cost was able to be changed anytime, representing the change in traffic condition. Results show that the usage of one way digraph in mapping the route does make the goal possible to reach, while the usage of twoway digraph may cause confusion although it is probably the possible choice in the real world. Both experiments showed that there are no additional computation stresses in re-calculating the shortest path while going halfway to reach the goal.

2020 ◽  
Author(s):  
Teresa Rexin ◽  
Mason A. Porter

Traveling to different destinations is a big part of our lives. How do we know the best way to navigate from one place to another? Perhaps we could test all of the different ways of traveling between two places, but another method is using mathematics and computation to find a shortest path. We discuss how to find a shortest path and introduce Dijkstra’s algorithm to minimize the total cost of a path, where the cost may be the travel distance or travel time. We also discuss how shortest paths can be used in the real world to save time and increase traveling efficiency.


2019 ◽  
Vol 1 (2) ◽  
pp. 41-45
Author(s):  
Md. Almash Alam ◽  
Md. Omar Faruq

Roads play a Major role to the people live in various states, cities, town and villages, from each and every day they travel to work, to schools, to business meetings, and to transport their goods. Even in this modern era whole world used roads, remain one of the most useful mediums used most frequently for transportation and travel. The manipulation of shortest paths between various locations appears to be a major problem in the road networks. The large range of applications and product was introduced to solve or overcome the difficulties by developing different shortest path algorithms. Even now the problem still exists to find the shortest path for road networks. Shortest Path problems are inevitable in road network applications such as city emergency handling and drive guiding system. Basic concepts of network analysis in connection with traffic issues are explored. The traffic condition among a city changes from time to time and there are usually huge amounts of requests occur, it needs to find the solution quickly. The above problems can be rectified through shortest paths by using the Dijkstra’s Algorithm. The main objective is the low cost of the implementation. The shortest path problem is to find a path between two vertices (nodes) on a given graph, such that the sum of the weights on its constituent edges is minimized. This problem has been intensively investigated over years, due to its extensive applications in graph theory, artificial intelligence, computer network and the design of transportation systems. The classic Dijkstra’s algorithm was designed to solve the single source shortest path problem for a static graph. It works starting from the source node and calculating the shortest path on the whole network. Noting that an upper bound of the distance between two nodes can be evaluated in advance on the given transportation network.


2021 ◽  
pp. 1-10
Author(s):  
Esra Çakır ◽  
Ziya Ulukan ◽  
Tankut Acarman

Determining the shortest path and calculating the shortest travel time of a complex networks are important for transportation problems. Numerous approaches has been developed to search shortest path on graphs, and one of the well-known is the Dijkstra’s label correcting algorithm. Dijkstra’s approach is capable of determining shortest path of directed or undirected graph with non-negative weighted arcs. To handle with uncertainty in real-life, the Dijkstra’s algorithm should be adapted to fuzzy environment. The weight of arc -which is the vague travel time between two nodes- can be expressed in bipolar neutrosophic fuzzy sets containing positive and negative statements. In addition, the weights of arcs in bipolar neutrosophic fuzzy graphs can be affected by time. This study proposes the extended Dijkstra’s algorithm to search the shortest path and calculate the shortest travel time on a single source time-dependent network of bipolar neutrosophic fuzzy weighted arcs. The proposed approach is illustrated, and the results demonstrate the validity of the extended algorithm. This article is intended to guide future shortest path algorithms on time-dependent fuzzy graphs.


Author(s):  
J. O. Olusina ◽  
J. B. Olaleye

This paper describes some benefits of crime mapping in a Geographic Information Systems (G.I.S.) environment. The underlining principle of Journey to Crime was discussed. Crime Spots and Police Stations in the study area were mapped, Shortest-Path, Closest Facility, Service Area and OD (Origin – Destination) Cost Matrix were determined based on Dijkstra's Algorithm. Results show that the distribution of police stations does not correspond with the spread of crime spots.


Author(s):  
Muhammad Rhifky Wayahdi ◽  
Subhan Hafiz Nanda Ginting ◽  
Dinur Syahputra

The problem of finding the shortest path from a path or graph has been quite widely discussed. There are also many algorithms that are the solution to this problem. The purpose of this study is to analyze the Greedy, A-Star, and Dijkstra algorithms in the process of finding the shortest path. The author wants to compare the effectiveness of the three algorithms in the process of finding the shortest path in a path or graph. From the results of the research conducted, the author can conclude that the Greedy, A-Star, and Dijkstra algorithms can be a solution in determining the shortest path in a path or graph with different results. The Greedy algorithm is fast in finding solutions but tends not to find the optimal solution. While the A-Star algorithm tends to be better than the Greedy algorithm, but the path or graph must have complex data. Meanwhile, Dijkstra's algorithm in this case is better than the other two algorithms because it always gets optimal results.


Sign in / Sign up

Export Citation Format

Share Document