Review of Shortest Path Algorithm
Journal: International Journal of Computer Science and Mobile Computing - IJCSMC (Vol.11, No. 4)Publication Date: 2022-04-30
Authors : Arijeet Banerjee; Pijush Kanti Kumar;
Page : 1-8
Keywords : Graph; Dijkstra’s Algorithm; Floyd-Warshall Algorithm; Bellman–Ford Algorithm; Johnson’s algorithm; A* search algorithm;
Abstract
Shortest path algorithm. Graphs are an example of non-linear data structure. A graph is a collection of nodes which are connected by edges. The definition of graph G = (V, E) is basically a collection of vertices and edges. Graphs can be classified on the basis of types of edges. Directed graphs have each of the edges directed which means the edges connecting the two nodes defines the way it is connected from and to. On the other side, undirected graphs have edges which have no direction. The edges of a graph have weights which are associated with it. The weight of an edge can be thought as the cost of the edge. Let's assume there are two vertices representing two cities, then the weight of the edge between the vertices may represent the distance between the cities. Given a given graph and a particular node, we can find a path of least total weight from that node to other vertices of the graph. The total weight of the path will be the sum of the weights of the edges. Graphs can be used in real life to find the shortest path between two destinations, used in social networking sites like facebook and the world wide web where the web pages are represented by the nodes. Dijkstra's Algorithm, Floyd – Warshall, Bellman Ford Algorithm, Johnson's algorithm, A* search algorithm are some of the shortest path algorithms.
Other Latest Articles
- Design of an Arduino-Based Water Quality Monitoring System
- Research of compositions of amino acids, fatty acids and minerals in meat pate with addition of meat-and-bone paste
- Certain features of using modified collagen-containing raw materials with prolonged shelf life in food technology
- Methods for nonparametric statistics in scientific research. Overview. Part 2
- Comparison of the proteomic profile of pork byproducts during their storage
Last modified: 2022-04-15 20:09:38