Efficient Shortest Path Algorithm Using An Unique And Novel Graph Matrix Representation

Abstract

The neighbourhood matrix, NM(G), a novel representation of graphs proposed in ALPaper is defined using the neighbourhood sets of the vertices. The matrix also exhibits a bijection between the product of two well-known graph matrices, namely the adjacency matrix and the Laplacian matrix. In this article, we extend this work and introduce the sequence of powers of NM(G) and denote it by NM\l\, 1≤ l ≤ k(G) where k(G) is called the iteration number, k(G)=2 diameter(G). The sequence of matrices captures the distance between the vertices in a profound fashion and is found to be useful in various applications. One of the interesting results of this article is that whenever ηij\l\=-1, for 1≤ l ≤ k(G) , then dG(i,j)=2l , where dG(i,j) is the shortest path distance between i and j . Further, we characterize the entries of the matrices NM\l\, for every l, 1≤ l ≤ k(G). Using this concept of the sequence of powers of neighbourhood matrix and with the aid of some of its properties, we propose an algorithm to find the shortest path between any pair of vertices in a given undirected unweighted simple graph. The proposed algorithm and the claims therein are formally validated through simulations on synthetic data and the real network data from Facebook where sampling-based computations are performed for large collection of graphs containing large-sized graph. The empirical results are quite promising with our algorithm having the best running time among all the existing well known shortest path algorithms.

0

Turn this paper into a lesson

ArcXiv compiles a structured reading guide from this paper's metadata: plain-English importance, contributions, prerequisite concepts, which sections to read first, flashcards, and a quiz. Grounded in the abstract, never invented.

Discussion (0)

Sign in to join the discussion.

Loading comments…