04 Sahoo
04 Sahoo
Abstract
The goal of this work is to provide an effective method for determining
the shortest path in random graphs, which are complicated networks with
random connectivity patterns. We have developed an algorithm that can
identify the shortest path for both weighted and unweighted random graphs
to accomplish our objective. As connectivity in these types of structures
is changing, the algorithm adjusts to different edge weights and node con-
figurations to provide fast and precise shortest path searching. The study
shows that the suggested method performs more successfully in finding the
shortest path throughout random graphs using comprehensive computations.
Many networks, including social networks, granular networks, road traffic
networks, etc., include nodes that can connect to one another and create
random graphs in the present-day computational era. The outcomes demon-
strate how flexible it is, which makes it a useful tool for practical uses in
domains where random graph structures are common, like transportation
networks, communication systems, and social networks. For illustration, we
have taken into consideration an actual case study of communication road
networks here. We have determined the shortest path of the road networks
using our proposed algorithm, and the results have been presented. Better
decision-making across a range of areas is made possible by this study, which
advances effective algorithms designed for complicated and unpredictable
network environments.
1 Introduction
Over time, advancements in computation, optimization, and upgrading have
led to an increased focus on optimal path selection for networks since the
invention of the computer. There is a constant effort made by researchers
to implement the best path selection algorithm. Graph theory now plays a
significant part in the mathematical modeling of any network system. In 18th-
century Swiss mathematician Leonhard Euler introduced the key concept of
graph theory. The field of graph theory has been growing rapidly thereafter.
There are currently numerous areas of investigation in graph theory [1]. The
nomenclature of both nodes and edges is crucial for visually representing
a network. Examining brain networks is a major topic of scientific inquiry,
despite being represented by an undirected graph. Scientists and network
researchers have established the theory that brain networks might be a mixed
directional combination of directed and undirected [2]. Road networks are
another example of this type of system; some have a direction from a source to
a destination, while others have no direction at all. For notable contributions
to the analyses of various graph-related topics, one might refer to the works
of Thorup [3], Katerinis and Tsikopoulosk [4], Orlin et al. [5], Wang et al. [6],
Jicy and Mathew [7], Li and Li [8], Bonato et al. [9], Mohammed [10],
Sotskov [11], Deen et al. [12] etc. Additionally, several methods have been
developed that use graph theory to find a complex network’s shortest path.
The works of Triana and Syahputri [13], Sahoo et al. [14], Singh and
Mishra [15], Brodnik et al. [16], Ramadiani et al. [17] and others might be
consulted for additional information. Random graph (RG) is another term for
a different kind of specialized graph that is used in the literature [18, 19].
The pioneering work of Paul Erdõs and Alfréd Rényi, who established the
Erdõs-Rényi model [18] in the late 1950s, is the foundation of the study
of random graphs. Based on this approach, graphs with different levels of
connection are produced by assuming that edges between pairs of nodes have
Shortest Path of a Random Graph and its Application 55
graph model. Link prediction employs information about the brain network,
including node properties and observable links, to estimate the probability
that links exist between nodes. This study, which is based on a hierarchical
random graph model with maximum likelihood estimation, plays a significant
role in addressing the issue of the ineffectiveness of general link prediction
methods applied to brain networks. Klootwijk et al. [41] have looked at
the probabilistic analysis of optimization problems on generalized random
shortest path metrics. The primary goal of this research is to generalize
Erdős–Rényi random graphs. By providing separate random edge weights to
each edge in the graph and determining the length of a shortest path between
each pair of vertices with respect to the weights, one can develop a random
shortest path metric. Kivimäki et al. [42] have investigated advancements in
the theory of randomized shortest paths with a comparison of graph node
lengths. This paper extends the theory of a particular family of graph node
distances, based on statistical physics, called the randomized shortest path
dissimilarity. The significance of random graphs presented in this introduc-
tion, with a focus on how they may be used to describe complex connection
patterns and make it easier to analyze phenomena in which irregularity
is important. Most of the published works that have been presented here
have nothing to do with determining the shortest path for either directed
or undirected random graphs. Thus, we have attempted to put into practice
an algorithm that determines the shortest path of random graphs. Using our
suggested algorithm, we have found the shortest path of the road networks,
which are represented in terms of random graphs, and the results have been
displayed in this paper. For the sake of illustration, an actual case study has
also been solved and the outcomes have been provided.
Step 2: Randomly choose two vertices are 1 − 2 (see Figure 3) and the
probability of distribution for connecting two vertices is p = 15 , because in
this network (see Figure 4) there are 5 nodes and there is a chance to connects
two nodes is 1 because two nodes always only one edge in between them.
And the dotted line shows the connection between the nodes and the solid
line shows the shortest path of the network.
Step 4: Applying our proposed algorithm, we get the random Graph (see
Figure 4) and the shortest path using the proposed algorithm is (1 − 4 − 2).
Figure 5. Here, we have represented the visited nodes and generated queue in
a tabular form in every step of the algorithm (See Tables 4 to 8)
Step 2: In this step Table 4 is generated and the corresponding random graph
is Figure 5(b).
Step 3: In this step Table 5 is generated and the corresponding random graph
is Figure 5(c).
Shortest Path of a Random Graph and its Application 65
Step 4: In this step Table 6 is generated and the corresponding random graph
is Figure 5(d).
Step 5: In this step Table 7 is generated and the corresponding random graph
is Figure 5(e).
Step 6: In this step Table 8 is generated and the corresponding random graph
is Figure 5(f).
The Figure 9 is the graph representation with the help of Tables 10 and 11
mentioned here. Choose random nodes from Table 9 and for connecting
the nodes we choose the probability p = 18 , because in our network there
are 8 nodes or places. Distance and probability distribution between Nodes
are mentioned in Table 12. And there is chance to connect to node is 1 or two
nodes are connected by only one link or edge.
68 L. Sahoo and R. Das
5 Conclusion
The proposed study is help to evaluate the shortest path of weighted and
unweighted random Graphs both. To evaluate the proposed algorithm, we can
take the nodes randomly and then implanted a network according a predefine
probability distribution. This study is very beneficiary for the social media,
road transportation etc. to evaluate the shortest distances between the nodes.
In future application of this study is finding shortest path of social media
because previously it is impossible to calculate the shortest distance between
the nodes or group of nodes in social media but our proposed algorithm able
to evaluate the shortest distances between the nodes or of group of a social
media. Because this study able to evaluate the shortest path of an unweighted
graph. This study also has practical implementation for weighted graph.
It gives a big impact for road transportation network because some time it
is found that two nodes have no feasible connection but it has probability
to connect a link. So, this study helps to finding the shortest path when
this situation previously is not possible. In future we try to reduce the time
complexity of our propose algorithm.
References
[1] Samanta, S., Pal, M., Mahapatra, R., Das, K., and Bhadoria, R. S.
(2021). A study on semi-directed graphs for social media networks.
International Journal of Computational Intelligence Systems, 14(1),
1034–1041.
[2] Sporns, O. (2018). Graph theory methods: applications in brain net-
works. Dialogues in clinical neuroscience, 20(2), 111–121.
[3] Thorup, M. (1997, October). Undirected single source shortest paths in
linear time. In Proceedings 38th Annual Symposium on Foundations of
Computer Science (pp. 12–21). IEEE.
[4] Katerinis, P., and Tsikopoulos, N. (2005). Edge-connectivity and the
orientation of a graph. SUT Journal of Mathematics, 41(1), 1–10.
72 L. Sahoo and R. Das
[5] Orlin, J. B., Madduri, K., Subramani, K., and Williamson, M. (2010).
A faster algorithm for the single source shortest path problem with few
distinct positive lengths. Journal of Discrete Algorithms, 8(2), 189–198.
[6] Wang, Z, H., Shi, S, S., Yu, L, and C., Chen, W, Z., (2012). An efficient
constrained shortest path algorithm for traffic navigation, In Advanced
Materials Research, 356, 2880–2885.
[7] Jicy, N., and Mathew, S. (2014). Some new connectivity parameters for
weighted graphs. Journal of Uncertainty in Mathematics Science, 2014,
1–9.
[8] Li, S., and Li, Y. (2019). Semi-dynamic shortest-path tree algorithms
for directed graphs with arbitrary weights. arXiv preprint arXiv:1903.
01756.
[9] Bonato, A., Delić, D., and Wang, C. (2016). The Structure and Auto-
morphisms of Semi-directed Graphs. Journal of Multiple-Valued Logic
& Soft Computing, 27, 161–173.
[10] Mohammed, A, M., (2017). Mixed graph representation and mixed
graph isomorphism. Journal of Science. 30 (1), 303–310.
[11] Sotskov, Y. N. (2020). Mixed graph colorings: A historical review.
Mathematics, 8(3), 385.
[12] Deen, Zeen El., M. R., and Omar, N. A. (2021). Extending of edge
even graceful labeling of graphs to strong r-edge even graceful labeling.
Journal of Mathematics, 2021, 1–19.
[13] Sahoo, L., Sen, S., Tiwary, K, S., Samanta, S., and Senapati, T., (2022).
Modified Floyd–Wars hall’s Algorithm for Maximum Connectivity in
Wireless Sensor Networks under Uncertainty. Discrete Dynamics in
Nature and Society 2022, 1–11.
[14] Singh, A., and Mishra, P. K., (2014). Performance Analysis of Floyd-
Warshall Algorithm vs Rectangular Algorithm, International Journal of
Computer Applications, 107(16), 23–27.
[15] Brodnik, A., Grgurovic, M., and Pozar, R. (2022). Modifications of
the Floyd-Warshall algorithm with nearly quadratic expected-time. Ars
Math. Contemp., 22(1), 1.
[16] Bukhori, D., and Dengen, N. (2018, April). Floyd-warshall algorithm
to determine the shortest path based on android. In IOP Conference
Series: Earth and Environmental Science (Vol. 144, No. 1, p. 012019).
IOP Publishing.
[17] Erdős, P., and Rényi, A. (1959). On random graphs I. Publ. math.
debrecen, 6(290–297), 18.
Shortest Path of a Random Graph and its Application 73
[34] Bacco, C., Franz, S., Saad, D., and Yeung, C. H. (2014). Shortest
node-disjoint paths on random graphs. Journal of Statistical Mechanics:
Theory and Experiment, 2014(7), P07009.
[35] Kryven, I., Duivenvoorden, J., Hermans, J., and Iedema, P. D. (2016).
Random graph approach to multifunctional molecular networks. Macro-
molecular Theory and Simulations, 25(5), 449–465.
[36] Van Der Hofstad, R., Hooghiemstra, G., and Van Mieghem, P. (2002).
The flooding time in random graphs. Extremes, 5(2), 111–129.
[37] Onat, F. A., and Stojmenovic, I. (2007, June). Generating random graphs
for wireless actuator networks. In 2007 IEEE international symposium
on a world of wireless, mobile and multimedia networks (pp. 1–12).
IEEE.
[38] Onat, F. A., and Stojmenovic, I. (2007, June). Generating random graphs
for wireless actuator networks. In 2007 IEEE international symposium
on a world of wireless, mobile and multimedia networks (pp. 1–12).
IEEE.
[39] Servetto, S. D., and Barrenechea, G. (2002, September). Constrained
random walks on random graphs: Routing algorithms for large scale
wireless sensor networks. In Proceedings of the 1st ACM international
workshop on Wireless sensor networks and applications (pp. 12–21).
[40] Yang, Y., Guo, H., Tian, T., and Li, H. (2015). Link prediction in
brain networks based on a hierarchical random graph model. Tsinghua
Science and Technology, 20(3), 306–315.
[41] Klootwijk, S., Manthey, B., and Visser, S. K. (2021). Probabilistic
analysis of optimization problems on generalized random shortest path
metrics. Theoretical computer science, 866, 107–122.
[42] Kivimäki, I., Shimbo, M., and Saerens, M. (2014). Developments in the
theory of randomized shortest paths with a comparison of graph node
distances. Physica A: Statistical Mechanics and its Applications, 393,
600–616.
Shortest Path of a Random Graph and its Application 75
Biographies
Rakhi Das received her B. Tech. from BIET Suri in 2006 & M. Tech. from
NIT Durgapur in 2010. She is currently Pursuing Ph.D. in Computer and
Information Science from Raiganj University since 2021. She has published
two research paper in reputed international journal Mathematics published
by MDPI and International Journal of Scientific Research in Mathematical
and Statistical Sciences. Her main research work focuses on Graph Theory.
She has 10 years of teaching experience.