Abstract
In the field of graph theory, the shortest path problem is one of the most significant problems. However, since varieties of indeterminated factors appear in complex networks, determining of the shortest path from one vertex to another in complex networks may be a lot more complicated than the cases in deterministic networks. To illustrate this problem, the model of uncertain random digraph will be proposed via chance theory, in which some arcs exist with degrees in probability measure and others exist with degrees in uncertain measure. The main focus of this paper is to investigate the main properties of the shortest path in uncertain random digraph. Methods and algorithms are designed to calculate the distribution of shortest path more efficiently. Besides, some numerical examples are presented to show the efficiency of these methods and algorithms.
Keywords: Shortest path problem, Distance, Uncertain random digraph, Chance theory, Uncertainty theory
Introduction
In the field of graph and network optimization, the shortest path problem is a very important problem. The shortest path problem of graph aims to find the minimum of all path lengths from the starting point to the end point. The length of a path refers to the sum of the weights of all arcs on the path or the number of arcs. The shortest path problem has a wide range of applications, including the lowest cost problems, the shortest time problems, the minimum flow problems and so on. For certain graphs and networks, there are many classical algorithms for shortest path problems, such as: Dijkstra Algorithm, Bellman–Ford Algorithm, SPFA Algorithm and Floyd–Warshall Algorithm (Bondy and Murty 2008).
However, practical networks are always changing instead of keeping static. As a result, shortest path problems seem to become more complicated. To satisfy the need of researching shortest path problems under network changes, indeterministic factors such as random and uncertain factors have been taken into consideration in the research of graph theory.
To deal with the problems of indeterminacy, Kolmogoroff (1933) established the systems of probability theory in 1933. As we all know, probability needs a lot of historical data to make sure the statistical rules can be sufficiently generated. In 1959, two models of random graphs were proposed by Erdos and Renyi (1959). Of course, the theory of probability is never a master key to deal with all the problems in the field of indeterminacy. Just as what we mentioned above, probability theory is data-dependent, i.e., if there’s no sufficient data to estimate the distribution, the theory will be invalid to solve the practical problems.
Besides probability theory, fuzzy theory also provides an important model framework for the study of the shortest path problem. Zadeh (1965) proposed the definition of fuzzy set in 1965. When using fuzzy theory to solve the shortest path problem, there are two main methods: direct solution methods and heuristic methods. In the work of using the direct solution methods, Deng et al. (2012) extended classical Dijkstra algorithm to deal with the fuzzy shortest path problems. Dubois and Prade (1980) found new methods to extended Floyd algorithms to solve fuzzy shortest path problems. Okada and Soper (2000) proposed a method to find all Pareto optimal paths from one certain node to all the other nodes with fuzzy numbers. As for heuristic methods, Chuang and Kung (2005) proposed a heuristic procedure to find the FSP length among all possible paths in a network. Hernandes et al. (2007) uses genetic algorithm to solve the fuzzy shortest path problem. Ebrahimnejad et al. (2016, 2015, 2020) proposed artificial bee colony (ABC) algorithm, particle swarm optimization algorithm, lexicographic optimization method to solve the fuzzy shortest problems with fuzzy arc weights.
Many excellent results have been obtained by using fuzzy theory to study the shortest path problem. However, fuzzy set theory is lack of duality axiom, which may lead to wrong results in practice. In order to overcome this defect of fuzzy theory, uncertainty theory was founded by Liu (2007). Shortest path problem with uncertain arc lengths was discussed by Gao (2011). In 2013, uncertain graph was proposed by Gao and Gao (2013). Some of uncertain graphs were soon discussed, such as Euler index (Zhang and Peng 2012), diameter index (Gao and Gao 2013), cycle index (Gao 2013), regularity index (Gao 2014), tree index (Gao 2016). In addition, some traditional problems of graph theory were discussed in uncertain graphs. More information can be found in Li et al. (2018), Rosyida et al. (2018), Zhou et al. (2014a), Gao et al. (2015), Gao and Qin (2016).
In recent years, networks became more and more complex. Different kinds of indeterminate factors appear at the same time. Random and uncertain factors in particular, appear in most cases. In order to solve this problem, Liu (2013b) proposed the chance theory in 2013 which includes concepts of uncertain random variable and chance measure. In addition, expected value and variance of an uncertain random variable were proposed. Chance theory has been applied to many optimization networks problems, such as uncertain random programming (Liu 2013a), goal programming (Qin 2018), multi-objective programming (Zhou et al. 2014b).
Uncertain random graph was proposed by Liu (2014). In an uncertain random graph, all edges are independent, and some edges exist with degrees in probability measure while other edges exist with degrees in uncertain measure. Liu (2014) discussed the diameter index of an uncertain random graph. Sheng and Gao (23016); Sheng and Mei (2020) gave the EVSPM, SPM and MCMSPM models of shortest path problems in uncertain random graph. In 2016, the Euler index of an uncertain random graph was discussed by Zhang et al. (2017). In 2018, the cycle index of an uncertain random graph was discussed by Chen et al. (2018). Li and Zhang (2020) discussed the edge-connectivity of uncertain random graph, and the vertex-connectivity of uncertain random graph was investigated by Li and Gao (2020).
The uncertain random graph model provides a new idea for us to study the shortest path problem of networks in reality. In real life, when we describe an uncertain event, we must first generate the distribution function of the event in advance. If this distribution is close enough to the frequency, we can safely use the probability model for modeling. If not, we will use uncertainty theory for modeling and analysis. However, the network in real life is often very complex. Some arcs can have enough historical data for probability modeling, while others may have a large difference between the distribution and the actual situation due to the lack of historical data, so the uncertain theory needs to be used. To sum up, we can find that the uncertain random graph model is more suitable for the description of real networks than the traditional probability model. It is a better research model of real networks and their shortest path problems.
In this paper, we will propose the model of uncertain random digraph, and discuss the shortest path problem. Definition of distance from one vertex to another in a random uncertain digraph will be given. Then, we will discuss the shortest path distribution and give an efficient algorithm to calculate the distribution. And we will use the method of this paper to establish the spreading model of COVID-19 in social networks. In addition, we will illustrate that our algorithm will greatly reduce the complexity compared with existing methods.
The remainder of the paper is organized as follows. In Sect. 2, we will introduce some necessary notations of digraph, and give a brief introduction of chance theory. In Sects. 3 and 4, we will discuss the shortest path problem in uncertain digraph and uncertain random digraph, respectively, including the form of the distribution of shortest path and algorithms of simplifying the process of calculation. Examples will be shown to illustrate the efficiency of these algorithms. The last section will conclude this paper with a brief summary.
Preliminaries
In this section, we first introduce some necessary definitions and notations of digraph. Then, we introduce some preliminary knowledge about chance theory.
Notations of digraphs
A digraph D is an ordered pair (V, A) consisting of a set V of vertices and a set A of arcs (directed edges). Without loss of generality, in the rest of this paper, we assume . An ordered pair means there exist an arc from vertex i to j, where i and j are called the tail and the head of arc (i, j), respectively. Here, we will only consider simple digraphs.
A directed walk with length k is an alternating sequence such that and for . If all the vertices of W are distinct, then W is called a directed path.
The adjacency matrix of digraph D, denoted by M(D), is a matrix such that
where
And if there is an arc from vertex i to j, then , otherwise . A well-known proposition is proposed in the following to find out whether there exists a directed walk of length k() from i to j.
Proposition 1
Let D be a digraph and let X be the adjacency matrix of D. For two distinct vertices i, j, there exists a directed walk of length k from i to j if and only if , where is the (i, j) entry of matrix .
For any vertices , if there exist a directed path from vertex i to vertex j, then the distance from i to j, denoted by d(i, j), is the minimal length of all the directed paths from i to j. If there is no directed path from i to j, which means i and j are in different components, then d(i, j) is usually defined as . In the field of graph theory, d(i, j) can be calculated by Dijkstra Algorithm Bondy and Murty (2008), the complexity of which is . As all directed paths are directed walks, a proposition can be proposed in the following.
Proposition 2
Let D be a digraph and X be the adjacency matrix of D. For two distinct vertices i, j and ,
where is the (i, j)-entry of matrix .
Chance theory
Let and be an uncertainty space and a probability space, respectively. The product is called a chance space. The product -algebra is the smallest -algebra containing all measurable rectangles of the form , where and . For each , is called an event of the chance space. The chance measure of event was defined by Liu (2013b) as
An uncertain random variable is a function from a chance space to the set of real numbers such that is an event in for any Borel set B. A random variable is called a Boolean random variable if it takes values from . Similarly, an uncertain variable or an uncertain random variable is called a Boolean uncertain variable or a Boolean uncertain random variable, respectively, if it takes values from . A function with n variables is called a Boolean function if it is a mapping from to .
Theorem 1
(Liu 2013a) Assume that are independent Boolean random variables, i.e.,
for , and the variables are independent Boolean uncertain variables, i.e.,
for . If f is a Boolean function, then is a Boolean uncertain random variable such that
where
The shortest path problem in uncertain digraphs
In this section, we will introduce the definition of uncertain digraph. Then, we will discuss the shortest path problem in uncertain digraphs and give the distribution of shortest path.
Problem description
We first give the definition of uncertain digraph and some necessary notations.
Definition 1
Let be a set of n vertices, and write We call
an uncertain adjacency matrix, if represent the uncertain measures that the exist, , respectively. The ordered pair is called an uncertain digraph, which is denoted by .
Remark 1
Since is simple, . Note that is normally asymmetric, i.e., it’s possible that .
Write
and
| 1 |
In , all the arcs (i, j) exist with the uncertain measure . For any defined by (1), represents that the arc from i to j exists. By the definition of , the uncertain measure that the event happens is .
As has n vertices, there are uncertain arcs. Then, there are possible realizations of arcs. Each realization of arcs and corresponding vertices form a deterministic digraph D. Since a digraph could be fully characterized by its adjacency matrix. Once a realization of arcs is given, there exists an unique matrix X in satisfying such that X is the adjacency matrix of D. By the product axiom of uncertain measure (Liu 2007), the uncertain measure of the event that D appears is
where
For any two distinct vertices i and j in , the length of the shortest path from vertex i to j, denoted by d(i, j), is a function of all . Since is an uncertain variable, d(i, j) is an uncertain variable as well. Once X is given, we could calculate d(i, j) by Dijkstra Algorithm (Bondy and Murty 2008). Therefore, we will naturally study the distribution and the properties of uncertain variable d(i, j).
Distribution of shortest path in uncertain digraph
Aiming at dealing with the problem in the last subsection, we first give a lemma and some notations of uncertain theory.
Lemma 1
(Operational Law of Boolean System) (Liu 2013a) Assume that the variables are independent Boolean uncertain variables, i.e.,
for . If f is a Boolean function, then is a Boolean uncertain variable such that
where take values either 0 or 1, and are defined by
for , respectively.
According to Proposition 2, the property can be fully characterized by the adjacency matrix of a digraph. So we give the characteristic function of this property in the following.
For any Boolean matrix X and any integer k (), we define
| 2 |
where is the (i, j)-entry of matrix . And by Lemma 1, we have the following Theorem.
Theorem 2
Let be an uncertain digraph. For distinct vertices i, j , the uncertain measure that the distance from i to j is no more than k is denoted by . And we have
where
| 3 |
and is the set of matrices satisfying (1).
Remark 2
According to the duality axiom, the uncertain measure that i and j are in two different components is denoted by . And we have .
According to Theorem 2, it is easy to calculate the distribution function of d(i, j).
Theorem 3
Let be an uncertain digraph. For two distinct vertices i and j, let be the distribution function of uncertain variable d(i, j). Then,
Maximum -digraph
In , given distinct vertices i and j, the uncertain distribution function of d(i, j) is given by Theorem 2 and 3. However, it’s impractical to calculate the distribution function by Theorem 2 and 3, as we have to concern all the realization digraphs. For examples, if has n uncertain arcs, then it has uncertain arcs and realization digraphs. The complexity of computing is . So the complexity is in total, which is not polynomial. In next part, we will propose a more efficient method to calculate , and present a polynomial algorithm.
Definition 2
Let be an uncertain digraph. A digraph D is called a maximum digraph if all the following hold.
(1)
(2)
(3) is maximum.
Maximum digraph given by Definition 2 could be used to calculated uncertain measure , which is shown in the following Theorem.
Theorem 4
Let be an uncertain digraph and i, j be the two vertices in . Let be a maximum digraph of . Then,
Proof
We assume Let be an uncertain digraph, where and
We will first prove . Note that D could be viewed as a realization digraph of , and the uncertain measure that it appears is . We have . As has more arcs than , it’s easier to find a directed path from i to j. Then, we have
| 4 |
We then show that . As the number of realization digraphs is finite, there exists a realization digraph of whose adjacency matrix satisfies and
and are defined by (2) and (3), respectively. By the definition of D, . Thus,
| 5 |
Let be a realization digraph of such that . Let be the adjacency matrix of . Therefore, . By the choice of digraph , holds in , i.e., .
If , according to Theorem 2 and (5), then we have
| 6 |
If , then by (5), . According to Theorem 2,
Since we have
| 7 |
By inequalities (6) and (7), And by inequalities (4), is proved to be correct.
Algorithm and example
By Theorem 4, in an uncertain digraph , once i, j, k are given, the uncertain measure can be calculated by finding a maximum digraph of . Although such a maximum digraph may not be unique, we can always use a greedy algorithm to find a maximum digraph of .
Algorithm 1
Greedy Algorithm for calculating .
Note that be an uncertain digraph. Let be the set of uncertain arcs. Let i and j be the vertices in and k be a constant taking values from .
Step 1. Set .
Step 2. Choose such that is maximum. Set , and . Calculate d(i, j) using Dijkstra Algorithm(if there’s no path from i to j, return to n) in .
Step 3. If , stop the iteration. The digraph is a maximum digraph. Thus, by Theorem 4, . Otherwise, go to Step 4.
Step 4. If , then go to Step 2. If , then stop and .
Using algorithm 1 and Theorem 3, distribution function could be calculated easily by the following Algorithm.
Algorithm 2
Maximum Digraph Algorithm(MDA) for calculating .
Note that be an uncertain digraph. Let be the set of uncertain arcs. Let i and j be the vertices in .
Step 1. Set , .
Step 2. Choose such that is maximum. Set , and . Calculate d(i, j) using Dijkstra Algorithm(if there’s no path from i to j, return to n) in .
Step 3. If , then the digraph is a maximum digraph. Thus, by Theorem 4, . Let and then go to Step 3; otherwise, go to Step 4.
Step 4. If , then go to Step 2. If , then stop and .
Step 5. According to Theorem 3, we could calculate the distribution function .
Next, we will discuss the complexity of Algorithm 2. Let m be the number of different uncertain values with which arcs exist. In Step 2, we need to calculate d(i, j) by Dijkstra Algorithm, which the complexity is . As the Algorithm has m interactions of Step 2, the complexity of Algorithm 1 is . When the number of vertices is small, the algorithm is quite efficient. Here is an example.
Example 1
Let be an uncertain digraph. and
We calculate the value of , using Algorithm 1.
The uncertain measures of all arcs are listed from high to low as follows: (Fig. 1).
Fig. 1.

Iterations in Example 1
In the first iteration, , and then we add the arcs with uncertain measure 1. It can be easily verified that . According to the algorithm, we continue the iteration.
In the second iteration, , then we add the arcs with uncertain measure 0.9. It can be found that . We continue the iteration.
In the third iteration, , then we add the arcs with uncertain measure 0.8. We find it that . D is the maximum digraph, thus . Let and we find that still holds. So . Let , and we continue the iteration.
In the fourth iteration, , then we add the arcs with uncertain measure 0.6. By Dijkstra Algorithm, , so we continue.
In the fifth iteration, , then we add the arcs with uncertain measure 0.4. We find that , so . Let , and we continue the iteration.
In the sixth iteration, , then we add the arcs with uncertain measure 0.3. , so . All the directed edges have been added, so we stop the iteration. By the iteration process, distribution function of d(2, 5) is
whose image is shown in Fig.2.
Fig. 2.

Distribution function of d(2, 5)
Effectiveness of MDA algorithm
In order to illustrate the effectiveness of this algorithm, we choose two classical algorithms for solving the shortest path problem: genetic algorithm (GA) and ant colony algorithm (ACO) to compare with the maximum directed graph algorithm (MDA) proposed in this paper. Each algorithm performs ten rounds of operation, and the final results are as follows. We select an uncertain digraph with 20 vertices and 39 arcs, and the connection of its vertices is shown in Fig.3.
Fig. 3.

Uncertain digraph
We study the shortest path distribution of d(1, 20) in uncertain digraph . The three algorithms run 10 times, respectively, and the final distributions are all the same. The final results of convergence iteration times and running time are shown in Fig. 4. We can find the following points:
Fig. 4.
Model comparison
(1) According to Fig. 4, the average running time of MDA algorithm is only 1.452s, which is less than 14.806s of GA algorithm and 22.565s of ACO algorithm. Compared with the two classical algorithms, the running time can be greatly shortened.
(2) The average convergence time of MDA algorithm is 0.854s, which is greatly improved compared with 9.577s of GA algorithm and 12.911s of ACO algorithm.
(3) The variance of average running time and average convergence time of MDA algorithm are 0.008996 and 0.003384, respectively, which are far less than GA algorithm and ACO algorithm. This algorithm has good stability.
Above all, since GA algorithm and ACO algorithm are heuristic algorithms, their running speed and results are greatly affected by initial parameters. MDA algorithm does not depend on the selection of initial parameters, but only related to the structure of uncertain digraph. It runs stably and efficiently. So, it is an efficient algorithm to solve the shortest path distribution problems in uncertain digraphs.
Numerical simulation of the shortest path model on COVID-19 transmission in social networks
The transmission of COVID-19 has severely threatened people’s lives since 2019. Therefore, research about the transmission of COVID-19 has its theoretical and practical significance. According to the World Health Organization(WHO), COVID-19 has distinct community transmission characteristics. It can easily spread through the social network and the spreading rate of COVID-19 is much higher than the other viruses. In this part, we simulate the spread of viruses in social networks.
We use a vertex to represent a person. For any two person i and j, if COVID-19 is transmitted from i to j, there is an arc between the corresponding vertices, otherwise it does not exist. Due to the strong dependence of probability model on the amount of data. Since the virus transmission is affected by indeterminate factors, which are lack of supporting historical data, the distribution obtained by models of probability theory will be far from the actual situation. Then, we have to ask experts in relevant fields to give the experience distribution. As a result, we assume all the arcs exist with a certain measure. As the measures that COVID-19 transmit from i to j and from j to i are different, it can only be characterized by directed graphs instead of undirected graphs. At the same time, due to the lack of historical data of interpersonal communication, it is difficult for us to build a model by probability theory. As a result, we assume all the arcs exist with degree of uncertain measure.
When a small number of infected people appear in a social network, they have infected some people around because of the incubation period. At this time, the distance of uncertain digraph can be used to estimate the required isolation range. One reason why random graphs are not suitable here is that the probability measures of arcs in the graph are difficult to be obtained objectively. The other reason is that according to the independence of probability measure, the probability measure of a product event is equal to the product of all the probability measures. According to the little probability event principle, the transmission range is generally very small. However, this estimation is sometimes inconsistent with the reality, since the transmission range will be much larger due to the incubation period of the virus.
Then, we simulate how a person infects others around him. We assume the number of vertices in the transmission networks is 100. According to sociological research, we assume that the out-degrees and in-degrees of each vertex are around 25 originally. We consider the transmission range of infected person 1. Choose one of the remaining 99 healthy people, assuming the 100th one. We will explore how many people the virus needs to transmit from the first person to the 100th person. This is equivalent to calculating the distance between them in an uncertain digraph.
Let be an uncertain digraph with 100 vertices. All the arcs exist with degree of uncertain measure that two people have close contact. We calculate the value of and the distribution function of uncertain variable d(1, 100) using Algorithm 1 and 2. The original social network of 100 vertices is shown in Fig. 5. By algorithm 1, the value of is 0.1250. The same is true of the calculation of . So we can get distribution function of d(1, 100). Distribution function of d(1, 100) is
whose image is shown in Fig. 6. Through calculation, we find that d(1, 100) does not exceed 7 with an uncertain measure of 0.9580. In other words, patient 1 will infect the healthy person 100 through up to six times of transmission. In fact, if we choose other healthy people, the calculation result is almost the same, which means that an infected person will infect the whole community by seven rounds of transmission at most.
Fig. 5.

Social network of 100 nodes
Fig. 6.

Distribution function of d(1, 100)
Shortest path problem in uncertain random digraph
In this section, we will propose the model of uncertain random digraph, and discuss the shortest path problem in uncertain random digraphs.
Problem description
In an uncertain random digraph with n vertices, all arcs are independent, and some arcs exist with degrees in probability measure while other arcs exist with degrees in uncertain measure.
We define two disjoint collections of arcs,
with . Note that deterministic arcs are regarded as special uncertain ones which exist with degrees in uncertain measure 1.
The adjacency matrix is an matrix
where represent the truth values in uncertain measure or probability measure if the arc from i to j exist, . As digraphs considered in this paper are simple, , for , and is normally asymmetric matrix, i.e., , for .
Definition 3
Assume is the collection of vertices, is the collection of uncertain arcs, is the collection of random arcs, and is the adjacency matrix. Then, the quartette is said to be an uncertain random digraph.
For an uncertain random digraph , write
and
| 8 |
For any , the extension class of X is defined by
| 9 |
As there are possible arcs, there are possible realization of arcs. Each one of them could be represented by a deterministic digraph, which is called a realization digraph. Since a digraph could be fully characterized by its adjacency matrix. For every and , such that Y is the adjacency matrix of a realization digraph H. The chance measure of the event that the realization digraph H appears, is
| 10 |
where
Example 2. Let be an uncertain random digraph (shown in Fig.7), . where , , , and
As has 8 edges, it has realizations graphs, three of which are shown in Fig.7. The chance measure of the event that appears is
Similarly, the chance measure of the events that and appear are 0.0504 and 0.0014, respectively.
Fig. 7.

Uncertain random digraph and its realization digraphs
Remark 3
If , an uncertain random digraph becomes a random digraph. Then,
| 11 |
For any , X is the adjacency matrix of a realization digraph, which appears with probability
If , an uncertain random digraph becomes an uncertain digraph in Definition 1.
The shortest path length from i to j, denoted by d(i, j), is a function of all . Since is a uncertain random digraph, d(i, j) is an uncertain random variable. Therefore, we will naturally study the chance distribution and the properties of uncertain random variable d(i, j).
Distribution of shortest path in uncertain random digraph
In this section, we will give the formula of the shortest path distribution function in uncertain random digraphs. According to Theorem 1, we have the following theorem.
Theorem 5
Let be an uncertain random digraph. For any vertices i, j , is the class of matrices satisfying (8), is the extension class of X satisfying (9). The chance measure that the distance from i to j is at most k is denoted by . And we have
where
and
| 12 |
Remark 4
According to the duality axiom, the chance measure that i and j are in two different components is denoted by . And we have .
Corollary 1
Let be a random digraph. is the class of matrices satisfying (8), is the extension class of X satisfying (9). satisfies (12). For any vertices i, j , we have
1. the probability measure that the distance from i to j is at most k is
2. the probability measure that i and j are in two different components is
According to Theorem 5 and the definition of distribution function, it is easy to calculate the distribution function of d(i, j) by the following theorem.
Theorem 6
Let be an uncertain random digraph. For any two distinct vertices i and j, is the chance distribution function of uncertain random variable d(i, j), and we have
Although the method of formulating chance distribution function has been given, it seems to be theoretical and quite complicated because we have to concern all the realization digraphs. So we need a simplified formula to calculate final result. According to Theorem 5, after random arcs are fixed, the uncertain random digraph will become an uncertain digraph. As a result, we can calculated by Algorithm 1. In next part, we will propose an efficient method to calculate .
Algorithm and example
According to Algorithm 1 and Theorem 5, we give an efficient Algorithm to calculate of an uncertain random digraph.
Algorithm 3
Algorithm for calculating the of an uncertain random digraph
Step 1. Divide the realization digraph of uncertain random digraph into l parts by the arcs with degree of random measure, where . For each part of the , we assume there exist only arcs with degree of random measure from the beginning. Let .
Step 2. Calculate by Algorithm 1. Let .
Step 3. If , stop and calculate the by Theorem 5; if , set and go to Step 2.
Next, we will discuss the complexity of Algorithm 3. We assume , m be the number of different uncertain values with which arcs exist. In Step 2, we need to calculate by Algorithm 1, whose the complexity is . Since there are iterations, the complexity of Step 2 is . In Step 3, there are multiplications and each multiplication has complexity of O(r). Then, we have to calculate additions. Thus, the complexity of Algorithm 3 is
Example 2
be an uncertain random digraph. and other arcs exist with degree of uncertain measure. We calculate the value of using Algorithm 3 (Figs. 8, 9).
Fig. 8.

Uncertain random digraph
Fig. 9.

The result of the four cases
Since there are 2 arcs exist with degree of probability measure, we divide the realization of digraph into cases. We calculate the , respectively. We give the solution procedure of the case 1, another 3 cases can be solved by the same method. According to Algorithm 1, four maximum digraph are found and equals to 0.8, 0.6, 0.8, 0.6, respectively. By Theorem 5, is given by the following equation
As a result, the distribution function is
whose image is shown in Fig. 10.
Fig. 10.

Distribution function of d(2, 5)
Conclusions
In this paper, we discussed the shortest path problem in uncertain digraphs and uncertain random digraphs. Key properties of have been discussed. We gave the formulas for calculating and distribution function of d(i, j). And an efficient polynomial algorithm was proposed to calculate . When the number of vertices is small, the algorithm performs well and can greatly reduce the amount of computation. We also used this model to study the transmission of covid-19 in social networks.
Due to the strong dependence of probability model on the amount of data. If there is no or lack of historical data, the distribution obtained by using the model of probability theory will be far from the actual situation. In this case, the theory of uncertainty will have great theoretical value and practical significance. Of course, if there is enough historical data, the classical probability model may have better results.
Further research will focus on the following aspects. First, MDA algorithm is a more efficient algorithm. With the help of the property that the shortest path increases with the increase in edges in directed graphs, this method can be considered when studying the index properties of edge increase in other uncertain directed graphs in the future. Second, important indices, such as diameter, radius could be considered in the frame of uncertain random digraphs. Finally, similar models could be introduced, such as uncertain fuzzy graph.
Funding
The authors have not disclosed any funding.
Data availibility
Enquiries about data availability should be directed to the authors.
Declarations
Conflict of interest
The authors have not disclosed any competing interests.
Footnotes
Publisher's Note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Contributor Information
Hao Li, Email: hlimath@ruc.edu.cn.
Kun Zhang, Email: zk-math2020@ruc.edu.cn.
References
- Abbaszadeh Sori A, Ebrahimnejad A, Motameni H. The fuzzy inference approach to solve multi-objective constrained shortest path problem. J Intell Fuzzy Syst. 2020;38(4):4711–4720. doi: 10.3233/JIFS-191413. [DOI] [Google Scholar]
- Bollobás B (2011) Random graphs, 2nd edn. Cambridge University Press, Cambridge
- Bondy A, Murty USR. Graph theory. Berlin: Springer; 2008. [Google Scholar]
- Chen L, Peng J, Rao C, Rosyida I. Cycle index of uncertain random graph. J Intell Fuzzy Syst. 2018;34:4249–4259. doi: 10.3233/JIFS-17373. [DOI] [Google Scholar]
- Chuang TN, Kung JY. The fuzzy shortest path length and the corresponding shortest path in a network. Comput Oper Res. 2005;32(6):1409–1428. doi: 10.1016/j.cor.2003.11.011. [DOI] [Google Scholar]
- Deng Y, Chen Y, Zhang Y, Mahadevan S. Fuzzy Dijkstra algorithm for shortest path problem under uncertain environment. Appl Soft Comput. 2012;12(3):1231–1237. doi: 10.1016/j.asoc.2011.11.011. [DOI] [Google Scholar]
- Dubois D, Prade H. Fuzzy sets and systems: theory and applications. New York: Academic Press; 1980. [Google Scholar]
- Ebrahimnejad A. An acceptability index based approach for solving shortest path problem on a network with interval weights. RAIRO Oper Res. 2021;55(1):1767–1787. doi: 10.1051/ro/2020033. [DOI] [Google Scholar]
- Ebrahimnejad A, Karimnejad Z, Alrezaamiri H. Particle swarm optimisation algorithm for solving shortest path problems with mixed fuzzy arc weights. Int J Appl Decis Sci. 2015;8(2):203–222. [Google Scholar]
- Ebrahimnejad A, Madjid Tavava, Hamnidreza Alrezaamiri. A novel artificial bee colony algorithm for shortest path problems with fuzzy arc weights. Measurement. 2016;93:48–56. doi: 10.1016/j.measurement.2016.06.050. [DOI] [Google Scholar]
- Ebrahimnejad A, Tabatabaei S, Santos-Arteaga FJ. A novel lexicographic optimization method for solving shortest path problems with interval-valued triangular fuzzy arc weights. J Intell Fuzzy Syst. 2020;39(1):1277–1287. doi: 10.3233/JIFS-192176. [DOI] [Google Scholar]
- Erdos P, Renyi A. On random graphs. Publicationes Mathematicae. 1959;6:290–297. [Google Scholar]
- Esfahanian H (2008) On the evolution of graph connectivity algorithms
- Gao Y. Shortest path problem with uncertain arc lengths. Comput Math Appl. 2011;62(6):2591–2600. doi: 10.1016/j.camwa.2011.07.058. [DOI] [Google Scholar]
- Gao X. Cycle index of uncertain graph. Information. 2013;15(12):270–277. [Google Scholar]
- Gao X. Regularity index of uncertain graph. J Intell Fuzzy Syst. 2014;27:1671–1678. doi: 10.3233/IFS-141133. [DOI] [Google Scholar]
- Gao X. Tree index of uncertain graphs. Soft Comput. 2016;20(4):1449–1458. doi: 10.1007/s00500-015-1597-5. [DOI] [Google Scholar]
- Gao X, Gao Y. Connectedness index of uncertain graph. Int J Uncertain Fuzz Knowl Based Syst. 2013;21(1):127–137. doi: 10.1142/S0218488513500074. [DOI] [Google Scholar]
- Gao Y, Qin Z. On computing the edge-connectivity of an uncertain graph. IEEE Trans Fuzzy Syst. 2016;24(4):981–991. doi: 10.1109/TFUZZ.2015.2500267. [DOI] [Google Scholar]
- Gao R, Yao K. Importance index of components in uncertain random systems. Knowl Based Syst. 2016;109(1):208–217. doi: 10.1016/j.knosys.2016.07.006. [DOI] [Google Scholar]
- Gao Y, Yang L, Li S, Kar S. On distribution function of the diameter in uncertain graph. Inf Sci. 2015;296:61–74. doi: 10.1016/j.ins.2014.10.048. [DOI] [Google Scholar]
- Gao R, Sun Y, Ralescu DA. Order statistics of uncertain random variables with application to -out-of- system. Fuzzy Optim Decis Mak. 2016;16(2):1–23. [Google Scholar]
- Gao X, Guo C, Yin X, Yu X. The computation on -connectedness index of uncertain graph. Clust Comput. 2019;22(3):5691–5701. doi: 10.1007/s10586-017-1471-6. [DOI] [Google Scholar]
- Gilbert EN. Random graphs. Ann Math Stat. 1959;30(4):1141–1144. doi: 10.1214/aoms/1177706098. [DOI] [Google Scholar]
- Hernandes F, Lamata MT, Verdegay JL, Yamakami A. The shortest path problem on networks with fuzzy parameters. Fuzzy Sets Syst. 2007;158(14):1561–1570. doi: 10.1016/j.fss.2007.02.022. [DOI] [Google Scholar]
- Hou Y, Peng W. Distance between uncertain random variables. Math Model Eng Probl. 2014;1:17–24. [Google Scholar]
- Ke H, Su T, Ni Y. Uncertain random multilevel programming with application to production control problem. Soft Comput. 2015;19(6):1739–1746. doi: 10.1007/s00500-014-1361-2. [DOI] [Google Scholar]
- Kolmogoroff A. Grundbegriffe der Wahrscheinlichkeitsrechnung. Berlin: Julius Springer; 1933. [Google Scholar]
- Li H, Gao X. On the vertex-connectivity of an uncertain random graph. IEEE Access. 2020;8:85504–85514. doi: 10.1109/ACCESS.2020.2990574. [DOI] [Google Scholar]
- Li H , Zhang H. On the edge-connectivity of an uncertain random graph. IEEE Access. 2020;99:1. [Google Scholar]
- Li H, Zhang B, Peng J. On the matching number of an uncertain graph. Iran J Fuzzy Syst. 2018;15(2):89–108. [Google Scholar]
- Liu B (2007) Uncertainty theory, 2nd edn. Springer, Berlin
- Liu B. Some research problems in uncertainy theory. J Uncertain Syst. 2009;3:3–10. [Google Scholar]
- Liu Y (2013a) Uncertain random programming with applications. Fuzzy Optim Decis Mak 12(2):153–169
- Liu Y (2013b) Uncertain random variables: a mixture of uncertainty and randomness. Soft Comput 17(4):625–634
- Liu B. Uncertain random graph and uncertain random network. J Uncertain Syst. 2014;8(1):3–12. [Google Scholar]
- Liu Y, Ralescu DA. Risk index in uncertain random risk analysis. Int J Uncertain Fuzz Knowl Based Syst. 2014;22(4):491–504. doi: 10.1142/S021848851450024X. [DOI] [Google Scholar]
- Matula DW (1987) Determining edge connectivity in 0 (nm). In: Symposium on Foundations of Computer Science
- Okada S, Soper T. A shortest path problem on a network with fuzzy arc lengths. Fuzzy Sets Syst. 2000;109(1):129–140. doi: 10.1016/S0165-0114(98)00054-2. [DOI] [Google Scholar]
- Qin Z. Uncertain random goal programming. Fuzzy Optim Decis Mak. 2018;17(4):375–386. doi: 10.1007/s10700-017-9277-9. [DOI] [Google Scholar]
- Rosyida I, Peng J, Chen L, Widodo W, Indrati ChR, Sugeng KA. An uncertain chromatic number of an uncertain graph based on -cut coloring. Fuzzy Optim Decis Mak. 2018;17(1):103–123. doi: 10.1007/s10700-016-9260-x. [DOI] [Google Scholar]
- Sheng Y , Gao Y. Shortest path problem of uncertain random network. Comput Ind Eng. 2016;99:66. doi: 10.1016/j.cie.2016.07.011. [DOI] [Google Scholar]
- Sheng Y, Mei X. Uncertain random shortest path problem. Soft Comput. 2020;24(4):66. doi: 10.1007/s00500-018-03714-5. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Soifer A. The mathematical coloring book. New York: Springer; 2009. [Google Scholar]
- Wen M, Kang R. Reliability analysis in uncertain random system. Fuzzy Optim Decis Mak. 2016;15(4):491–506. doi: 10.1007/s10700-016-9235-y. [DOI] [Google Scholar]
- Yao K, Gao J. Law of large numbers for uncertain random variables. IEEE Trans Fuzzy Syst. 2016;24(3):615–621. doi: 10.1109/TFUZZ.2015.2466080. [DOI] [Google Scholar]
- Zadeh LA. Fuzzy sets. Inf Control. 1965;8:338–353. doi: 10.1016/S0019-9958(65)90241-X. [DOI] [Google Scholar]
- Zhang B, Peng J. Euler index in uncertain graph. Appl Math Comput. 2012;218(20):10279–10288. [Google Scholar]
- Zhang B, Peng J, Li S. Euler index of uncertain random graph: concepts and properties. Int J Comput Math. 2017;94:217–229. doi: 10.1080/00207160.2015.1100720. [DOI] [Google Scholar]
- Zhou J, Yang F, Wang K (2014a) An inverse shortest path problem on an uncertain graph. J Netw 9(9):2353–2359
- Zhou J, Yang F, Wang K (2014b) Multi-objective optimization in uncertain random environments. Fuzzy Optim Decis Mak 13(4):397–413
Associated Data
This section collects any data citations, data availability statements, or supplementary materials included in this article.
Data Availability Statement
Enquiries about data availability should be directed to the authors.

