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

03/13/2019
by   Sivakumar Karunakaran, et al.
0

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 d_G(i,j)=2^l , where d_G(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.

READ FULL TEXT

Please sign up or login with your details

Forgot password? Click here to reset

Sign in with Google

×

Use your Google Account to sign in to DeepAI

×

Consider DeepAI Pro