Abstract
Network reliability is an important index in measuring the reliability of large-sized network, but network reliability calculation is a NP-hard problem, and simulation is a feasible approach to estimating network reliability. Aiming at the problem of reliability evaluation in a complex network, develop a general scheme that combines Crude Monte Carlo and event-driven, and a novel reliability assessment method based on event-driven is put forward. The unbiased and the accurate estimation of the proposed method are analyzed from a theoretical point of view. Experimental results demonstrate that the proposed method is more efficient than other algorithms, such as high simulation efficiency, fine estimation accuracy and greatly reducing the algorithm complexity.
Introduction
With the continuous development of society and science technology, human society has accelerated the process of networking. Such as electric power, transportation, urban water supply, gas network and other systems are very much important network systems that maintain the function of the modern city and economic development. Once a fault occurs, it will cause a significant and even disastrous impact. So network reliability is an important aspect of ensuring network security [1]. Especially, network security has become the attention focus of the international society in recent years. In view of the present network situation, we need to strengthen developing a network and a network reliability assessment, and improve network security [2]. So analysis and estimating of the network reliability are extremely important for a complex network. It can effectively improve the network construction and management capabilities through studying the reliability of a complex network, it helps improving the factor of network security, and it is conducive to improving survivability and survivability of the network. So it is extremely important to evaluate the reliability of a complex network.
Reliability is the key aspect to measure the performance of the network system. As is well known, the reliability assessment of a complex network system is NP-hard problem [3], because their computational effort growing exponentially and increases the number of nodes and links in the network. Searching for efficient computing algorithm that can evaluate the reliability is a hot research topic in large complex network system. In recent years, many people have put forward a variety of methods to calculate the reliability of the network and they have made many contributions. To sum up, these methods can be roughly divided into two categories. One is a method that can accurate compute the reliability of the complex network, including inclusion-exclusion principle [4–8], the state enumeration [1, 9] and the factor decomposition [10–14]. For example, the basic idea of the factor decomposition is to select a side of the network, and its reliability problem is decomposed into two sub problems. The first sub problem is thus, assuming that the selected edge is failed. The second sub problem is assuming that the selected edge of the network is work, so the reliability of the network is obtained by solving these sub problems. But factor decomposition algorithm can only decompose the state of one selected side every time, and the decomposition process of the algorithm is very slow, and the number of the decomposition is much more, thus it is not suitable for calculating the reliability of the large and dense network. The complexity of the exact reliability algorithms is exponential increasing with the increasing scale networks and the number of nodes increasing, and this kind of algorithms can only be applied to analyze the reliability in medium and small scale networks. For large complex engineering network system, it cannot be solved because of the complexity of the network. The amount of calculation is rapidly expanding, and the computational efficiency of the algorithm is becoming lower and lower.
The other is the method that can estimate network reliability approximately. The approximate calculation method is used to approximate the exact value through the boundary value of the reliability. Especially, with the increasing of the network scale, these methods that can approximately estimate network reliability have been attracted much attention from researchers. These methods mainly have the upper and lower bounds of network reliability [15, 16], such as Monte Carlo(MC), improved MC [17–19]. A summary of combinatorial as well as computational properties of the diameter-constrained network reliability is presented [20–23], which extends well-known properties of the classical network reliability measure. An algorithm for computing the reliability is presented, which can compute the network reliability [24]. Propose a novel method for the network reliability in terms of capacitated-minimum-paths without knowing minimum-paths in advance [25], and a simple algorithm for evaluating the network reliability based on the minimal cut set [26, 27] is presented in [28]. They are a simple and efficient. Two-terminal reliability problem [29, 30] is solved, which find the best possible bounds on the probability of an operating path between two given nodes s and t without assuming independence of failures [31]. Utilize a deep connection between reliability and chip firings on graphs to improve previous bounds for reliability, and a more accurate characterization of the matroid complex prove useful in improving the bounds on all-terminal network reliability [32]. The study serves as a guide to research the problem of the network reliability, as its computation is known to be NP-Hard in exact computation of network reliability, some scholars have adopted the accurate calculation method, such as factoring algorithm [33–35] and Binary Decision Diagram algorithm [36, 37], etc. but some scholars have studied the approximation algorithm through the above introduction. In addition, there are upper and lower bounds algorithms and Monte Carlo. For a larger network, the network reliability calculation of precise value is very difficult. However, considering time and accuracy. It is unfeasible based on the exact algorithm of the network reliability. Exact computation of network reliability is feasible only for small sized networks. Numerous researchers propose some algorithms which approximately estimate networks reliability. Especially, Monte Carlo simulation is one of the optimal algorithms to estimate the network reliability, etc. When the upper and lower bounds method is determined to determine the range of the ideal reliability bounds, usually sacrifices computational complexity. Monte Carlo algorithm is a simulation method based on probability and statistics, and it can simulate the actual physical process. It can solve many problems that are too complex to establish accurate mathematical models. There are some advantages of low complexity and rather intuitive, and it is widely used to simulate study for a large network.
Which improve effectively the estimation accuracy of CMC using constant sampling times. But these methods of sampling are also time-driven, they still require some prior information of the network such as paths-sets or cuts-sets or other information. Because of the reasons summed up above. Hence, the algorithm we proposed works better than their algorithms from theory and practice point of view. In addition, the testing results show that the proposed method can have better efficiency for solving the complex network reliability problem. In this present paper, we have proposed combining Event-driven with Monte Carlo (EMC) to minimize the cost under reliability constraints. The method is guaranteed to be effective when the failure probabilities of the edges are sufficiently small. We have compared the proposed method with previous work for solving the related problems in [38, 39]. Hence, the algorithm which we proposed works better than their algorithms from a theoretical point of view. In addition, the testing results show that the proposed method can have better efficiency for solving the complex network reliability problem.
Definitions and notation
We deal with an undirected graph G = (V, E) is a set of the nodes (or vertices) V = {v1, v2, ⋯ , v i , ⋯ v N } that represents the nodes of a network, connected together by a set of the edges(or links) E ={ e1, e2, ⋯ , e i , ⋯ e M }, where N and M are the number of the vertices and the number of the edges in the graph, respectively. Depending on the edges’ states, the network has two possible states. Each edge can be either operational (up) or failed (down). The failure edges are assumed to be independent events. If edge e i is operational, then x (e i ) = 1. If edge e i is failed, then x (e i ) = 0.
Suppose that edge e i ∈ E is operational with probability p (e i ), that is, p (e i ) is the network reliability of edge e i , and unreliability q (e i ) = 1 - p (e i ) is defined as the probability that a set of edges e i is failed in the undirected graph. We postulate that element failures are mutually independent events.
The network state is a binary random variable. We assume that the network state is a vector
As we see these next definitions allow us to compute the network reliability R (G). Because the network reliability is closely related to the probability of the connected network, we have that R (G) = Pr(
This function Ψ (
In fact, from the above results, we can conclude that the exact calculation formula is a NP-hard problem. The number of the elements in the state space S is an exponential function of the link number M, and enumerating these states is a very high complexity. Therefore, it is an effective method to use the MC simulation to estimate the formula (2).
The Monte Carlo is a simulation method based on probability and statistics experiments, and the Monte Carlo constructs a series of samples according to the probability model of the random variables in some systems. We use samples to calculate the solutions of the target samples, and the estimation of the solution of the target is obtained by statistical processing. The CMC network reliability simulation based on time-driven is briefly defined as follows.
According to probability model of the formula (1), randomly generate K independent samples from the network state space S, for the paper convenience, this article record the independent samples as
It can be easily proved that E [R (G)] and R (G) are equal, that is the formula (3) is unbiased estimation of the formula (2), as the variance of R (G) is defined as follows.
Therefore, the variance of the estimator R (G) is as follows.
From formula (5), we know that the estimation accuracy of network reliability is related to the variance of the sample K and statistic Ψ (
Now the algorithm of CMC is described in detail as follows.
The Crude Monte Carlo is a noteworthy simulation tool for estimating network reliability. In order to further study estimating network reliability combined with Crude Monte Carlo, and we have carried out the relevant study. The CMC is a method of discrete time-driven, which updates network status with increasing of the time unit, generate some failed and connected events in each time unit, and updates the network status (failed network state or connected network state), then simulate using time-driven simulation. But in this paper, we develop a new method that combines event-driven and Crude Monte Carlo. The main idea is to find a more efficient simulation method, which creates failed event time of each edge in undirected graph G. To achieve driven simulation, must look for the highest priority failed time and the corresponding event, and update network states. We will introduce a new estimating method based Monte Carlo, which is designed as shown in Fig. 1.

Process diagram for the improved method.
We design three parts in order to realize the EMC method, which is formulated as follows. Suppose that Event Table (ET) and Time Pointer (TP) are used to describe event table and the time pointer of failure events in each link. Suppose that time updating is used to update time pointer in the highest priority event. Suppose that event updating is used to update the network status and event table.
Based on the above analysis, the operations of the event table are defined as follows.
Insert (ET, e i , TPe i ). The fault event of parameter (e i , TPe i ) is inserted into ET, and the event is updated.
Remove (ET, e i , TPe i ). The fault event of parameter (e i , TPe i ) is deleted from ET, and the event is updated.
Get-TPmin(ET). Find and return the most priority time pointer TPmin from ET, and time isupdated.
Assume that the sample K times in link state x (e i ) for edge e i , Y i is represented the number of link failure events, that is, there are Y i times when x (e i ) = 0. Because the probability p (e i ) of connected state is constant, so Y i is a random variable which obeys binomial distribution, which is defined asfollows.
The CMC algorithm constructs the state sequence

Sampling Of CMC and EMC.
Sampling of EMC is divided into two steps: Generate binomial variable Y
i
based on K and p (e
i
). Randomly generated Y
i
time pointer TPe
i
about fault event of e
i
in [0,K].
A brief description of the specific steps of EMC is formulated as follows.
The estimation of the EMC is to be proved unbiased, and it can be converted to sample following Pr(
Combination the formula (6) and the EMC sampling method, then
Because events are randomly distributed in K sampling, That is, for a given y, then
Based on the formula (6) and the formula (7) can be transformed into the following formulas.
Thus, the sum of the probability for the formula (9) is the Binomial distribution and its value is 1.
This proves that Pr(x (e i ) = 0) = q (e i ). So, EMC is an unbiased evaluation of R (G).
When x1 (e
i
) , x2 (e
i
) , ⋯ , x
K
(e
i
) is generated, we use the same random variable, and network state vector
Because both EMC and MC belong to CMC, and the variance is a function that adds values from the network structure function Ψ (
Any two state vectors
For corresponding elements of any two state vectors, x
i
(e
i
) ∈
In order to analyze efficiency of these algorithms and the relationship between the networks complexity, we take the grid network of 25 nodes as an example to carry out the simulations. The grid network is generated three kinds of link number: 40, 56 and 72, and their network complexity increases. As shown in Fig. 3, and there are network A, B and C.

Three kinds the grid network of 25 nodes.
Under the same hardware environment, the CMC and EMC are used to simulate for the reliability of the network A. There are these parameters: p (e i ) = 0.99, e i ∈ E and K = 106.
The estimated results and consumption time of the two methods were recorded respectively, and each method is simulated for 30 times, then the evaluation standard deviation of each method is calculated based on the 30 times statistical values. The standard deviation formula is defined as follow, and the results are shown in Fig. 4.
According to the factor theorem [39], the accurate reliability value of the network A can be calculated, and its value is R (G) = 0.99958. The experimental results are as shown in Fig. 4(a), and the evaluation mean values that the two methods obtained are astringed the accurate value, and the unbiased analysis and variance analysis of the 4 section areverified.
The experimental results are shown in Fig. 4(b), and the proposed algorithm not only consumes time less than CMC, but also greatly improves the simulation efficiency.

(a) Simulation accuracy comparison.

(b) Consumption time comparison.
In order to compare the efficiency of each method and the relationship between network size and link state, and the above mentioned method is used to carry out nine times simulations respectively based on p (e i ) = 0.9, 0.99 and 0.999 in Fig. 3. To reflect the superiority of the method in this paper, we do a lot of comparison experiments according to two improved algorithms based on CMC in literature [38, 39] apart from CMC under the same simulation objects and environment, and the results of the experiments are as shown in Table 1.
Simulation comparison under different network conditions
From Table 1, it is easy to find that consumption time of the four methods is gradually reduced with the increase of link reliability when the network complexity is the same. But the reduction of the EMC is the largest in the CMC, literature [38] and literature [39]. Because the EMC needs to produce less random seeds under the same sample in the simulation experiments. At the same time, when the reliability is higher, and the EMC jumps over a large number of connected events and gets a higher efficiency. There are some application limitations for the reduced preprocessing in literature [38], and the simplification of network topology is limited in Fig. 3, therefore, its time consumption is basically equivalent to CMC. Need to calculate the network cut set before sampling in literature [39], so its time consumption is the biggest in these methods, and it is not very sensitive when link reliability is changed, and sampling pretreatment has high complexity.
It is consumption time that four methods are simulated in Network C, which is described as shown in Fig. 5. Consumption time of the EMC is the least, and its consumption time is 3.058 s when p (e i ) =0.9.

Consumption time in network C.
Experiment results are illustrated in Fig. 6 when p (e i ) =0.90, we see that consumption time of these algorithm s is the higher with the improvement of the network complexity, but the EMC is the least in different complex networks. The EMC is the best algorithm in these algorithms too. Consumption time of four methods is gradually increased with the increasing of the network complex.

Consumption time in Network A, B and C.
Experimental results are illustrated in Fig. 7 when p (e i ) =0.99. We see that consumption time of the EMC is the least in different complex networks. The EMC is the best algorithm in these algorithms too. Consumption time of four methods is gradually increased with the increase of the network complex.

Consumption time in network A, B and C.
Experimental results are illustrated in Fig. 8 when p (e i ) =0.999. We see that consumption time of the EMC is the least in different complex networks. The EMC is the best algorithm in these algorithms too. Its consumption time of the EMC is becoming lower, but the changes of consumption time for other algorithms are not obvious when their network reliability is very much high.

Consumption time in network A, B and C.
Exploiting all methods do a number of experiments in network C and experimental results are illustrated in Fig. 9. We do all experiments in the same complex network, and find that consumption time of each method is gradually reduced with the increase of link reliability, and reducing scope of the EMC is the largest in four methods, and find that consumption time is the least too. Since the EMC needs to produce less random seeds under the same sampling in the simulation experiments. Meanwhile, the EMC jumps over a large number of connected events and gets a higher efficiency when the reliability is higher.

Comparison of consumption time in network C.
With the increase of link reliability, consumption time of the four methods is gradually reduced when the network complexity is the same. Meanwhile, estimated standard deviation has a trend of decreasing gradually. The dimension of the state vector will be increased, and time consumption will be increased accordingly when the network complexity increases. From formula (5) in CMC, we see that, when the link reliability becomes larger, then p (e i )↑ , R (G) ↑ , StdCMC ↓. Combined with the variance analysis of the 4.3 section, then p (e i )↑ , StdEMC ↓, and simulation results are coincident with the Table 1. The results have further verified variance theory analysis of literature [20] and literature [39], and this paper will not repeat them.
When the link reliability and the network complexity are the same, time consumption of the EMC is the least, and the estimation accuracy of literature [39] is the highest, because data is pre-treated using cut sets in literature [39], thus, the problem is transformed into the segment simulation of cut set, and compresses sampling dimension, so this method has a lower estimate variance, but this improvement of estimation accuracy is small, but time consumption is almost an order of magnitude higher than the EMC. It is a strategy that improves accuracy by sacrificing efficiency, and we can make specific tradeoffs combined with practical applications.
The distribution of network fault events on the time axis has been analyzed based on that, the reliability of complex network based on Event-driven mechanism has been studied, and a Monte Carlo estimation method based on the events that were constructed using time pointer has been proposed. We compared and analyzed these problems of estimation variance and its accuracy from a theoretical point of view, and we did lots of the experiments by the EMC, CMC and two improved algorithms, and analyzed the experimental data. Experiment results show that the proposed algorithm in this paper greatly reduces the complexity and improve the estimation accuracy, and it is an effective simulation method for dealing with large scale network and the reliability problems of extreme values.
Footnotes
Acknowledgments
The authors would like to thank for financial support by youth fund project of the humanities and social sciences of Education Ministry (No. 15YJC870004), Social Sciences fund project of Hunan Province (No. 13YBA302) and education Science in Hunan province in 12th Five-Year planning project (XJK014CGD081, XJK011BXJ004).
