Research Article
Evaluation of Network Reliability for Computer Networks with Multiple Sources
Algorithm 1
RSDP algorithm.
| //Calculate the network reliability for all | | function = RSDP | | //Input vectors and connection probability of each LPS | | for i = 1 : h | | if i == 1 | | = Pr(); | | else | | Temp_R_1 = Pr; | | If i == 2 | | Temp_R_2 = Pr(X ≥ max()); //max() = (⊕ ) | | else | | for j = 1 : i–1 | | = max(); //max() = (⊕ ) | | end | | Temp_R_2 = RSDP; | | end | | end | | = + (Temp_R_1) − (Temp_R_2); |
|