Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP7619487B2 - Distributed computing method, distributed computing device, and program - Google Patents
[go: Go Back, main page]

JP7619487B2 - Distributed computing method, distributed computing device, and program - Google Patents

Distributed computing method, distributed computing device, and program Download PDF

Info

Publication number
JP7619487B2
JP7619487B2 JP2023572322A JP2023572322A JP7619487B2 JP 7619487 B2 JP7619487 B2 JP 7619487B2 JP 2023572322 A JP2023572322 A JP 2023572322A JP 2023572322 A JP2023572322 A JP 2023572322A JP 7619487 B2 JP7619487 B2 JP 7619487B2
Authority
JP
Japan
Prior art keywords
vertex
cov
variance
label
link
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2023572322A
Other languages
Japanese (ja)
Other versions
JPWO2023132066A1 (en
Inventor
健吾 中村
武 井上
正彬 西野
宜仁 安田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NTT Inc
NTT Inc USA
Original Assignee
Nippon Telegraph and Telephone Corp
NTT Inc USA
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nippon Telegraph and Telephone Corp, NTT Inc USA filed Critical Nippon Telegraph and Telephone Corp
Publication of JPWO2023132066A1 publication Critical patent/JPWO2023132066A1/ja
Application granted granted Critical
Publication of JP7619487B2 publication Critical patent/JP7619487B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F17/00Digital computing or data processing equipment or methods, specially adapted for specific functions
    • G06F17/10Complex mathematical operations
    • G06F17/18Complex mathematical operations for evaluating statistical data, e.g. average values, frequency distributions, probability functions, regression analysis

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • General Physics & Mathematics (AREA)
  • Mathematical Optimization (AREA)
  • Pure & Applied Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Mathematical Physics (AREA)
  • Computational Mathematics (AREA)
  • Mathematical Analysis (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Operations Research (AREA)
  • Probability & Statistics with Applications (AREA)
  • Bioinformatics & Cheminformatics (AREA)
  • Algebra (AREA)
  • Evolutionary Biology (AREA)
  • Databases & Information Systems (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Bioinformatics & Computational Biology (AREA)
  • Complex Calculations (AREA)

Description

本発明は、分散計算方法、分散計算装置及びプログラムに関する。 The present invention relates to a distributed computing method, a distributed computing device, and a program.

通信ネットワークや電力網、交通網等のネットワークシステムでは、リンクが故障しそのリンクが使えなくなってしまうことが時折発生する。そのようなリンクの故障を確率的な事象と捉えると、或る指定した複数のノード間が接続している確率(つまり、或る指定した複数のノードのうちの任意の2つのノード間を繋ぐ道が存在する確率)を計算することができる。指定したk個のノード間が接続している確率を求める問題はk-ターミナル信頼性問題(k-terminal network reliability、以下、k-NRと略す。)と呼ばれ、その確率はネットワーク信頼性(又は、単に信頼性)とも呼ばれる。In network systems such as communication networks, power grids, and transportation networks, links sometimes fail and become unusable. If such link failures are considered to be probabilistic events, it is possible to calculate the probability that certain specified nodes are connected (i.e., the probability that a path exists connecting any two of certain specified nodes). The problem of finding the probability that k specified nodes are connected is called the k-terminal network reliability problem (hereafter abbreviated as k-NR), and this probability is also called network reliability (or simply reliability).

k-NRは#P-完全という計算が困難な問題に属することが知られており、愚直な方法では数十リンク程度のネットワークでもネットワーク信頼性の計算に多くの時間を要してしまう。これに対して、例えば、非特許文献1や2では、組合せ集合をコンパクトに表現できる二分決定グラフ(BDD:Binary Decision Diagram)を用いて高速にネットワーク信頼性を求める手法が提案されている。現在では、数多くの研究により数百リンク程度のネットワークに対して正確なネットワーク信頼性を求めることができる。 It is known that k-NR belongs to the category of problems that are difficult to compute, being #P-complete, and straightforward methods require a lot of time to calculate network reliability even for networks with only a few dozen links. In response to this, for example, Non-Patent Documents 1 and 2 propose a method to quickly calculate network reliability using a binary decision diagram (BDD), which can compactly represent a set of combinations. Currently, a large amount of research has made it possible to accurately calculate network reliability for networks with only a few hundred links.

一方で、既存研究では、各リンクの可用性(すなわち、各リンクが正しく動作する確率)は正確に与えられるという仮定の下でネットワーク信頼性が計算されている。しかしながら、現実的にはリンクの可用性はいくらかの不確かさを持って与えられたり、例えば機械学習により誤差を持った形で推定されたりもする。もし各リンクの可用性が不確かさを分散(variance)の形で持っているならば、ネットワーク信頼性の値も不確かさを分散の形で持っているはずである。このようなネットワーク信頼性の不確かさを計算することは現実的な状況では重要である。例えば、ネットワーク信頼性は99%であるがその標準偏差(不確かさ)が1%あるネットワークシステムと、ネットワーク信頼性は98.5%であるがその標準偏差(不確かさ)は0.1%であるネットワークシステムとを考えた場合、前者の方がネットワーク信頼性自体は高いものの、後者の方が好まれる状況も十分に考えられる。On the other hand, in existing studies, network reliability is calculated under the assumption that the availability of each link (i.e., the probability that each link works correctly) is given accurately. However, in reality, link availability is given with some uncertainty or may be estimated with error, for example, by machine learning. If the availability of each link has uncertainty in the form of variance, the value of network reliability should also have uncertainty in the form of variance. Calculating the uncertainty of such network reliability is important in realistic situations. For example, considering a network system with a network reliability of 99% but a standard deviation (uncertainty) of 1% and a network system with a network reliability of 98.5% but a standard deviation (uncertainty) of 0.1%, although the former has a higher network reliability, it is quite conceivable that the latter would be preferred.

Gary Hardy, Corinne Lucet, and Nikolaos Limnios. K-terminal network reliability measures with binary decision diagrams. IEEE Transactions on Reliability, Vol. 56, pp. 506-515, 2007.Gary Hardy, Corinne Lucet, and Nikolaos Limnios. K-terminal network reliability measures with binary decision diagrams. IEEE Transactions on Reliability, Vol. 56, pp. 506-515, 2007. Johannes U. Herrmann. Improving reliability calculation with augmented binary decision diagrams. In Proceedings of the 24th IEEE International Conference on Advanced Information Networking and Applications (AINA 2010), pp. 328-333, 2010.Johannes U. Herrmann. Improving reliability calculation with augmented binary decision diagrams. In Proceedings of the 24th IEEE International Conference on Advanced Information Networking and Applications (AINA 2010), pp. 328-333, 2010.

しかしながら、上述したように、ネットワーク信頼性の不確かさを考慮した既存研究は存在せず、従ってネットワーク信頼性の分散を計算する手法も存在しない。However, as mentioned above, there is no existing research that takes into account the uncertainty of network reliability, and therefore no method exists to calculate the variance of network reliability.

本発明の一実施形態は、上記の点に鑑みてなされたもので、ネットワーク信頼性の分散を計算することを目的とする。 One embodiment of the present invention has been made in consideration of the above points and aims to calculate the variance of network reliability.

上記目的を達成するため、一実施形態に係る分散計算方法は、連結な無向グラフG=(V,E)と、端点集合K⊂Vと、前記無向グラフGを構成するリンクe∈Eの可用性の平均p及び分散σ とを入力する入力手順と、前記無向グラフGと、前記端点集合Kとに基づいて、前記端点集合Kに含まれる全てのノードが接続する状態を全て持つ二分決定グラフを構築する構築手順と、前記二分決定グラフと、前記リンクe∈Eの可用性の平均p及び分散σ とに基づいて、前記端点集合Kに含まれる全てのノードが接続する確率を表すネットワーク信頼性の分散値を計算する計算手順と、をコンピュータが実行する。 In order to achieve the above object, a distributed computation method according to one embodiment includes the following steps, executed by a computer: an input step of inputting a connected undirected graph G = (V, E), an end vertex set K ⊂ V, and an average p i and a variance σ i 2 of the availability of links e i ∈ E that constitute the undirected graph G; a construction step of constructing a binary decision diagram having all states in which all nodes included in the end vertex set K are connected, based on the undirected graph G and the end vertex set K; and a computation step of calculating a variance value of network reliability that represents the probability that all nodes included in the end vertex set K are connected, based on the binary decision diagram and the average p i and the variance σ i 2 of the availability of the links e i ∈ E.

ネットワーク信頼性の分散を計算することができる。 The variance of network reliability can be calculated.

本実施形態に係る分散計算装置のハードウェア構成の一例を示す図である。FIG. 2 is a diagram illustrating an example of a hardware configuration of a distributed computing device according to the present embodiment. 本実施形態に係る分散計算装置の機能構成の一例を示す図である。FIG. 2 is a diagram illustrating an example of a functional configuration of a distributed computing device according to the present embodiment. 本実施形態に係る分散計算装置が実行する処理の流れの一例を示すフローチャートである。4 is a flowchart illustrating an example of a flow of processing executed by the distributed computing device according to the present embodiment. グラフG及び端点集合Kの一例を示す図である。1 is a diagram illustrating an example of a graph G and a set of end points K. 或る信頼性論理関数を表現するBDDの一例を示す図である。FIG. 1 is a diagram showing an example of a BDD that represents a certain reliability logic function. BDDによりネットワーク信頼性の分散値を計算するアルゴリズムの一例を示す図である。FIG. 13 is a diagram illustrating an example of an algorithm for calculating a variance value of network reliability using a BDD.

以下、本発明の一実施形態について説明する。 The following describes one embodiment of the present invention.

<問題設定>
「ネットワーク信頼性の分散」を数学的に定式化すると以下のようになる。
<Problem Setting>
The mathematical formulation of "distribution of network reliability" is as follows:

ネットワークは、連結な無向グラフG=(V,E)としてモデル化する。ここで、n=|V|をノード数、m=|E|をリンク数とする。各リンクe∈Eには可用性P∈[0,1]が与えられる。これは、リンクeは確率Pで正しく動作し、確率1-Pで故障する、ということを意味する。各リンクの状態(つまり、動作しているか又は故障しているか)は他のリンクの状態と確率的に独立であるものとする。また、Eに含まれる全てのリンクの状態の集まりを「Eの状態」と呼ぶことにする。このとき、Eの状態Xが与えられると、E⊆Eを動作しているリンクの集合として、動作しているリンクのみからなるGの部分グラフG=(V,E)を考えることができる。この状態Xが起こる確率は以下の式(1)で計算できる。 The network is modeled as a connected undirected graph G = (V, E), where n = |V| is the number of nodes and m = |E| is the number of links. Each link e i ∈ E is given an availability P i ∈ [0, 1]. This means that link e i works correctly with probability P i and fails with probability 1-P i . The state of each link (i.e., whether it is working or broken) is assumed to be probabilistically independent of the states of other links. In addition, the set of states of all links included in E is called the "state of E". In this case, when the state X of E is given, we can consider a subgraph G X = (V, E X ) of G consisting only of working links, with E X ⊆ E as the set of working links. The probability of this state X occurring can be calculated using the following formula (1).

Figure 0007619487000001
ノードの集合K⊆Vが与えられたとき、Kに含まれるノードが全て接続する確率(ネットワーク信頼性)R(K)は以下の式(2)で計算できる。
Figure 0007619487000001
When a set of nodes K⊆V is given, the probability that all nodes included in K are connected (network reliability) R G (K) can be calculated by the following formula (2).

Figure 0007619487000002
ここで、ΓはKに含まれる全てのノードがG中で接続しているようなEの状態Xを全て集めた集合である。言い換えれば、Γは、Kに含まれる全てのノードが、動作しているリンクの集合Eにより全て接続しているようなEの状態Xを全て集めた集合である。
Figure 0007619487000002
Here, Γ K is the set of all states X of E such that all nodes in K are connected in G X. In other words, Γ K is the set of all states X of E such that all nodes in K are all connected by a set of working links E X.

いま、不確かさを反映するために、各リンクの可用性Pは平均p、分散σ の確率分布に従うものと仮定する。つまり、各リンクの可用性を確率変数とみなすことにする。このとき、各リンクの状態の独立性を担保するため、i≠jに対してPとPは統計的に独立であるものとする。すると、Eの状態Xを一つ固定したときの式(1)のP(X)や式(2)のR(K)は、P,・・・,Pに従属する確率変数となる。 Now, in order to reflect uncertainty, it is assumed that the availability P i of each link follows a probability distribution with mean p i and variance σ i 2. In other words, the availability of each link is regarded as a random variable. In this case, in order to ensure the independence of the state of each link, it is assumed that P i and P j are statistically independent for i ≠ j. Then, when one state X of E is fixed, P(X) in equation (1) and R G (K) in equation (2) become random variables dependent on P 1 , ..., P m .

以降、E[・]、Var[・]、Cov[・,・]をそれぞれP,・・・,Pに関する期待値、分散、共分散とする。各リンクの可用性がP=pと固定されたときの従来のネットワーク信頼性の値を考えると、これはR(K)の期待値E[R(K)]に一致する。求める「ネットワーク信頼性の分散」は、R(K)の分散Var[R(K)]の値であり、グラフGと端点集合Kと各リンクeの平均p及び分散σ とが与えられたときにこの分散Var[R(K)]の値を求めるのが解くべき問題である。 Hereinafter, E[.], Var[.], and Cov[.,.] are the expectation, variance, and covariance of P 1 , ..., P m , respectively. Considering the conventional network reliability value when the availability of each link is fixed as P i = p i , this coincides with the expected value E[R G (K)] of R G (K). The "variance of network reliability" we are looking for is the value of the variance Var[R G (K)] of R G (K), and the problem to be solved is to find the value of this variance Var[R G (K)] when the graph G, the set of endpoints K, and the mean p i and variance σ i 2 of each link e i are given.

<従来技術>
k-NRで求めるネットワーク信頼性の値は上記の式(2)で表されるため、Γ、すなわちKに含まれる全てのノードがG中で接続しているようなEの状態Xを全て列挙することができれば計算できる。しかし、Eの状態はリンクの数に対して指数的に多く存在するため、素直な列挙では数十リンクのネットワークでも計算時間が膨大になってしまう。そこで、Kに含まれる全てのノードが接続するようなリンクの組合せEを全て持つBDDを構築し、そのBDDを確率計算に用いることで、計算時間を削減することができる。特に、非特許文献1や2では、Kに含まれる全てのノードが接続するようなEの状態を全て列挙することなく、上記のようなBDDを直接構築できる手法となっているため、素直な列挙と比べて大幅な計算時間の削減を実現できる。なお、非特許文献1に記載されている手法がもととなるアイデアを提案したものであり、非特許文献2に記載されている手法は非特許文献1に記載されている手法の一部を改良しより高速にしたものである。
<Prior Art>
The network reliability value calculated by k-NR is expressed by the above formula (2), so it can be calculated if all the states X of E in which all the nodes included in K are connected in G X can be enumerated. However, since the number of states of E is exponentially large with respect to the number of links, a straightforward enumeration would result in a huge calculation time even for a network with several tens of links. Therefore, the calculation time can be reduced by constructing a BDD having all the combinations E X of links in which all the nodes included in K are connected, and using the BDD for probability calculation. In particular, Non-Patent Documents 1 and 2 provide a method for directly constructing the above-mentioned BDD without enumerating all the states of E in which all the nodes included in K are connected, so that a significant reduction in calculation time can be achieved compared to straightforward enumeration. Note that the idea based on the method described in Non-Patent Document 1 is proposed, and the method described in Non-Patent Document 2 is a method that improves part of the method described in Non-Patent Document 1 to make it faster.

一方で、非特許文献1や2に記載されている手法を含む既存研究はいずれも各リンクの可用性が正確に与えられるという仮定の下で行われたものであり、可用性が分散という不確かさを持って与えられた下でネットワーク信頼性の不確かさを議論した研究は存在しない。なお、ネットワーク信頼性の文脈で「分散」について触れているものとしては、式(2)のネットワーク信頼性の値をモンテカルロ法により近似的に計算する場合の誤差を考察した研究が存在するが、この研究はあくまでも近似計算手法に起因する不確かさを議論したものであり、各リンクの可用性の不確かさを考慮したものではない。On the other hand, all existing research, including the methods described in Non-Patent Documents 1 and 2, has been conducted under the assumption that the availability of each link is given accurately, and there is no research that discusses the uncertainty of network reliability when availability is given with the uncertainty of variance. Note that there is research that considers the error when the network reliability value in equation (2) is approximately calculated using the Monte Carlo method, which mentions "variance" in the context of network reliability, but this research only discusses the uncertainty caused by the approximate calculation method and does not take into account the uncertainty of the availability of each link.

<提案手法>
上述した通り、ネットワーク信頼性の不確かさについて触れた既存研究は存在せず、従ってネットワーク信頼性の分散を計算する手法も存在しない。一方で、上記の式(2)を用いて、分散Var[R(K)]を以下のように分解することは可能である。
<Proposed method>
As mentioned above, there is no existing research that deals with the uncertainty of network reliability, and therefore no method exists for calculating the variance of network reliability. However, it is possible to decompose the variance Var[R G (K)] using the above formula (2) as follows:

Figure 0007619487000003
ここで、共分散Cov[P(X),P(Y)]はリンクの数に比例する時間で計算できるため、Γに含まれる状態を全て列挙できれば上記の式によりネットワーク信頼性の分散の値を計算することができる。しかし、一般に、Γに含まれる状態の個数はリンクの本数mに対して指数的に増加するため、数十リンク程度のネットワークでもこの方法で分散の値を計算するのは計算時間的に困難である。このように、ネットワーク信頼性の分散の値を現実的な時間で計算する手法は存在せず、100リンク以上のネットワークでもネットワーク信頼性の分散の値を計算できるような手法が必要である。
Figure 0007619487000003
Here, since the covariance Cov[P(X), P(Y)] can be calculated in a time proportional to the number of links, if all the states included in Γ K can be enumerated, the variance value of the network reliability can be calculated using the above formula. However, since the number of states included in Γ K generally increases exponentially with the number of links m, it is difficult in terms of calculation time to calculate the variance value using this method even in a network with about several tens of links. Thus, there is no method for calculating the variance value of the network reliability in a realistic time, and a method is needed that can calculate the variance value of the network reliability even in a network with 100 or more links.

そこで、本実施形態では、ネットワーク信頼性の分散の値を高速に計算することができる手法を提案し、この提案手法を実行する分散計算装置10について説明する。Therefore, in this embodiment, we propose a method that can quickly calculate the variance value of network reliability, and explain the distributed computing device 10 that executes this proposed method.

本提案手法では、非特許文献1に記載されている手法をベースとして、BDDを用いてネットワーク信頼性の分散値を高速に計算する。非特許文献1や2で用いられているBDDは、頂点と向きのある辺の集まりでできたループの無いグラフ(有向非巡回グラフと呼ぶ)で組合せ集合を表現するデータ構造である。なお、元のネットワークの「ノード」、「リンク」と区別するため、有向非巡回グラフのノード、リンクはそれぞれ「頂点」、「辺」と呼ぶことにする。 Based on the method described in Non-Patent Document 1, the proposed method uses BDDs to quickly calculate the variance value of network reliability. The BDDs used in Non-Patent Documents 1 and 2 are data structures that represent combination sets with a loop-free graph (called a directed acyclic graph) made up of a collection of vertices and directional edges. Note that to distinguish them from the "nodes" and "links" of the original network, the nodes and links of a directed acyclic graph are called "vertices" and "edges," respectively.

非特許文献1や2に記載されている手法では、BDDを構築した後、BDDの各頂点を一状態とする動的計画法によりネットワーク信頼性の値を計算している。一方で、本実施形態に係る分散計算装置10では、非特許文献1と同様にBDDを構築した後、BDDの頂点のペアを一状態とする新たな動的計画法によりネットワーク信頼性の分散の値を計算する。これにより、BDDのサイズの多項式に比例する時間でネットワーク信頼性の分散の値を計算することができる。一般に、ネットワーク信頼性を計算するためのBDDのサイズは、Γに含まれる状態の個数と比べて非常に小さくなることが多いため、200リンク程度のネットワークでも分散の値を計算できるようになる。 In the methods described in Non-Patent Documents 1 and 2, after constructing a BDD, the network reliability value is calculated by dynamic programming with each vertex of the BDD as one state. On the other hand, in the distributed computing device 10 according to the present embodiment, after constructing a BDD in the same manner as Non-Patent Document 1, the variance value of the network reliability is calculated by a new dynamic programming with each pair of vertices of the BDD as one state. This makes it possible to calculate the variance value of the network reliability in a time proportional to a polynomial of the size of the BDD. In general, the size of the BDD for calculating the network reliability is often very small compared to the number of states included in Γ K , so that it becomes possible to calculate the variance value even in a network with about 200 links.

<分散計算装置10のハードウェア構成例>
本実施形態に係る分散計算装置10のハードウェア構成例を図1に示す。図1に示すように、本実施形態に係る分散計算装置10は一般的なコンピュータ又はコンピュータシステムのハードウェア構成で実現され、入力装置101と、表示装置102と、外部I/F103と、通信I/F104と、プロセッサ105と、メモリ装置106とを有する。これらの各ハードウェアは、それぞれがバス107により通信可能に接続される。
<Hardware Configuration Example of Distributed Computing Device 10>
An example of a hardware configuration of a distributed computing device 10 according to this embodiment is shown in Fig. 1. As shown in Fig. 1, the distributed computing device 10 according to this embodiment is realized by the hardware configuration of a general computer or computer system, and has an input device 101, a display device 102, an external I/F 103, a communication I/F 104, a processor 105, and a memory device 106. Each of these pieces of hardware are connected to each other via a bus 107 so as to be able to communicate with each other.

入力装置101は、例えば、キーボードやマウス、タッチパネル、各種物理ボタン等である。表示装置102は、例えば、ディスプレイや表示パネル等である。なお、分散計算装置10は、例えば、入力装置101及び表示装置102のうちの少なくとも一方を有していなくてもよい。The input device 101 is, for example, a keyboard, a mouse, a touch panel, various physical buttons, etc. The display device 102 is, for example, a display, a display panel, etc. Note that the distributed computing device 10 may not have at least one of the input device 101 and the display device 102, for example.

外部I/F103は、記録媒体103a等の外部装置とのインタフェースである。分散計算装置10は、外部I/F103を介して、記録媒体103aの読み取りや書き込み等を行うことができる。なお、記録媒体103aとしては、例えば、CD(Compact Disc)、DVD(Digital Versatile Disk)、SDメモリカード(Secure Digital memory card)、USB(Universal Serial Bus)メモリカード等が挙げられる。The external I/F 103 is an interface with an external device such as a recording medium 103a. The distributed computing device 10 can read and write data from and to the recording medium 103a via the external I/F 103. Examples of the recording medium 103a include a CD (Compact Disc), a DVD (Digital Versatile Disk), a SD memory card (Secure Digital memory card), and a USB (Universal Serial Bus) memory card.

通信I/F104は、分散計算装置10を通信ネットワークに接続するためのインタフェースである。プロセッサ105は、例えば、CPU(Central Processing Unit)やGPU(Graphics Processing Unit)等の各種演算装置である。メモリ装置106は、例えば、HDD(Hard Disk Drive)やSSD(Solid State Drive)、フラッシュメモリ、RAM(Random Access Memory)、ROM(Read Only Memory)等の各種記憶装置である。The communication I/F 104 is an interface for connecting the distributed computing device 10 to a communication network. The processor 105 is, for example, various types of arithmetic devices such as a CPU (Central Processing Unit) or a GPU (Graphics Processing Unit). The memory device 106 is, for example, various types of storage devices such as a HDD (Hard Disk Drive), an SSD (Solid State Drive), a flash memory, a RAM (Random Access Memory), a ROM (Read Only Memory), etc.

本実施形態に係る分散計算装置10は、図1に示すハードウェア構成を有することにより、後述する各種処理を実現することができる。なお、図1に示すハードウェア構成は一例であって、分散計算装置10は、例えば、複数のプロセッサ105を有していてもよいし、複数のメモリ装置106を有していてもよいし、図示したハードウェア以外の様々なハードウェアを有していてもよい。The distributed computing device 10 according to this embodiment has the hardware configuration shown in Fig. 1, and can realize various processes described below. Note that the hardware configuration shown in Fig. 1 is only an example, and the distributed computing device 10 may have, for example, multiple processors 105, multiple memory devices 106, or various other hardware besides the hardware shown in the figure.

<分散計算装置10の機能構成例>
本実施形態に係る分散計算装置10の機能構成例を図2に示す。図2に示すように、本実施形態に係る分散計算装置10は、入力部201と、構築部202と、計算部203と、出力部204とを有する。これら各部は、例えば、分散計算装置10にインストールされた1以上のプログラムが、プロセッサ105に実行させる処理により実現される。ここで、分散計算装置10には、連結な無向グラフG=(V,E)と、端点集合K⊆Vと、各リンクe∈Eの可用性の平均p及び分散σ とが与えられるものとする。なお、n=|V|をノード数、m=|E|をリンク数とする。
<Example of Functional Configuration of Distributed Computing Device 10>
An example of the functional configuration of the distributed computing device 10 according to this embodiment is shown in FIG. 2. As shown in FIG. 2, the distributed computing device 10 according to this embodiment has an input unit 201, a construction unit 202, a calculation unit 203, and an output unit 204. Each of these units is realized, for example, by a process in which one or more programs installed in the distributed computing device 10 are executed by the processor 105. Here, it is assumed that the distributed computing device 10 is given a connected undirected graph G=(V, E), a set of terminal vertices K⊆V, and the average p i and variance σ i 2 of the availability of each link e i ∈E. Here, n=|V| is the number of nodes, and m=|E| is the number of links.

入力部201は、与えられた連結な無向グラフGと端点集合Kと各リンクe∈Eの可用性の平均p及び分散σ とを入力する。 The input unit 201 receives a given connected undirected graph G, a set of end vertices K, and the mean p i and variance σ i 2 of the availability of each link e i ∈E.

構築部202は、入力部201によって入力された連結な無向グラフGと端点集合Kとに基づいて、端点集合Kに含まれる全てのノードが接続する状態を全て持つBDDを生成(構築)する。 The construction unit 202 generates (constructs) a BDD that has all states in which all nodes included in the end point set K are connected, based on the connected undirected graph G and the end point set K input by the input unit 201.

計算部203は、構築部202によって生成されたBDDと各リンクe∈Eの可用性の平均p及び分散σ の値とに基づいて、動的計画法によりネットワーク信頼性の分散の値を計算する。 The calculation unit 203 calculates the variance value of the network reliability by dynamic programming based on the BDD generated by the construction unit 202 and the average p i and variance σ i 2 of the availability of each link e i ∈E.

出力部204は、計算部203によって計算されたネットワーク信頼性の分散の値を予め決められた任意の出力先に出力する。なお、当該出力先としては、例えば、ディスプレイ等の表示装置102、メモリ装置106、通信ネットワークを介して接続される他の装置又は機器等が挙げられる。The output unit 204 outputs the value of the variance of the network reliability calculated by the calculation unit 203 to a predetermined output destination. The output destination may be, for example, a display device 102 such as a display, a memory device 106, or another device or equipment connected via a communication network.

<分散計算装置10が実行する処理の流れ>
本実施形態に係る分散計算装置10が実行する処理の流れについて、図3を参照しながら説明する。
<Flow of Processing Executed by Distributed Computing Device 10>
The flow of processing executed by the distributed computing device 10 according to this embodiment will be described with reference to FIG.

まず、入力部201は、与えられた連結な無向グラフGと端点集合Kと各リンクe∈Eの可用性の平均p及び分散σ とを入力する(ステップS101)。 First, the input unit 201 receives a given connected undirected graph G, a set of end vertices K, and the average p i and variance σ i 2 of the availability of each link e i εE (step S101).

次に、構築部202は、上記のステップS101で入力された連結な無向グラフGと端点集合Kとに基づいて、端点集合Kに含まれる全てのノードが接続する状態を全て持つBDDを生成(構築)する(ステップS102)。なお、本ステップの詳細については後述する。Next, the construction unit 202 generates (constructs) a BDD that has all the states in which all the nodes included in the end set K are connected, based on the connected undirected graph G and the end set K input in the above step S101 (step S102). Details of this step will be described later.

次に、計算部203は、上記のステップS102で生成されたBDDと上記のステップS101で入力された各リンクe∈Eの可用性の平均p及び分散σ とに基づいて、動的計画法によりネットワーク信頼性の分散の値を計算する(ステップS103)。なお、本ステップの詳細については後述する。 Next, the calculation unit 203 calculates the variance of the network reliability by dynamic programming based on the BDD generated in step S102 and the average p i and variance σ i 2 of the availability of each link e i ∈E input in step S101 (step S103). Details of this step will be described later.

そして、出力部204は、上記のステップS103で計算されたネットワーク信頼性の分散の値を予め決められた任意の出力先に出力する(ステップS104)。Then, the output unit 204 outputs the value of the variance of the network reliability calculated in step S103 above to any predetermined output destination (step S104).

<ステップS102の詳細>
本ステップでBDDを構築する際に構築部202が実行する処理は非特許文献1や2で提案されている手法と同一であるため、以下では、主に、本ステップで構築されるBDDの構造について説明する。
<Details of step S102>
Since the processing executed by construction unit 202 when constructing the BDD in this step is the same as the techniques proposed in Non-Patent Documents 1 and 2, the following mainly describes the structure of the BDD constructed in this step.

構築部202は、グラフGと端点集合Kとに基づいて、端点集合Kに含まれる全てのノードがG中で接続しているようなEの状態Xを全て集めた集合Γを表現する二分決定グラフ(BDD)を構築する。BDDは、本来、論理関数を表現するデータ構造であるため、まずはΓに対応する論理関数fを考える。 Based on the graph G and the end point set K, the constructor 202 constructs a binary decision diagram (BDD) that expresses a set Γ K that collects all states X of E such that all nodes included in the end point set K are connected in G X. Since a BDD is originally a data structure that expresses a logical function, first consider a logical function f K that corresponds to Γ K.

二値変数をリンクの本数と同じ個数用意し、x,・・・,xとする。そして、Eの状態Xに対して、リンクeが動作していればx=true、リンクeが故障していればx=falseとして、x,・・・,xへの値の割り当てを対応させる。以上の対応の下で、x,・・・,xに対応するEの状態XがΓに含まれていればtrue、そうでなければfalseの値を取る論理関数をf(x,・・・,x)とする。このfを以下では信頼性論理関数と呼ぶことにする。 The same number of binary variables as the number of links are prepared, and denoted as x 1 , ..., x m . Then, for the state X of E, values are assigned to x 1 , ..., x m, with x i = true if link e i is working, and x i = false if link e i is faulty. Under the above correspondence, a logic function is denoted as f K (x 1 , ..., x m ) that takes the value true if the state X of E corresponding to x 1 , ..., x m is included in Γ K , and takes the value false otherwise. Hereinafter, this f K will be referred to as a reliability logic function.

以降、BDDの構造について説明する。BDDは、論理関数を根付きの有向非巡回グラフB=(N,A)として表現するデータ構造である。ここで、Nは頂点集合、Aは辺集合とする。根とは、自身に向かう辺が一つも無いような頂点のことであり、以降、r∈Nと表す。 Below, we will explain the structure of a BDD. A BDD is a data structure that represents a logical function as a rooted, directed acyclic graph B = (N, A). Here, N is a set of vertices, and A is a set of edges. A root is a vertex that has no edges pointing to it, and will be represented as r∈N from now on.

頂点集合Nに含まれる頂点は、出る辺が無い特別な頂点である終端頂点と、それ以外の内部頂点とに大別される。以下、終端頂点をThe vertices in a vertex set N are broadly divided into terminal vertices, which are special vertices with no outgoing edges, and other internal vertices. In the following, terminal vertices are

Figure 0007619487000004
と表す。以下、これらの終端頂点をそれぞれ「第1の終端頂点」、「第2の終端頂点」ともいう。
Figure 0007619487000004
Hereinafter, these terminal vertices are also referred to as the "first terminal vertex" and the "second terminal vertex", respectively.

各内部頂点Each internal vertex

Figure 0007619487000005
は、LO辺及びHI辺と呼ばれる2つの出る辺と、ラベルと呼ばれる整数値とを持つ。内部頂点vのLO辺及びHI辺が指す先の頂点をそれぞれLO子頂点及びHI子頂点と呼び、それぞれlo(v)及びhi(v)と表す。また、vのラベルはlb(v)∈{1,・・・,c}と表す。ここで、cはBDDが表現する論理関数が入力として取る二値変数の個数である。BDDのラベルは、根から辺を辿って行くに従い値が大きくなっていく必要がある。すなわち、各内部頂点vに対してlb(v)<lb(lo(v))かつlb(v)<lb(hi(v))である必要がある。なお、終端頂点については、それぞれ
Figure 0007619487000005
has two outgoing edges called LO edges and HI edges, and an integer value called a label. The vertices pointed to by the LO edges and HI edges of an internal vertex v are called the LO child vertices and the HI child vertices, respectively, and are denoted as lo(v) and hi(v), respectively. The label of v is denoted as lb(v) ∈ {1, ..., c}, where c is the number of binary variables that the logic function represented by the BDD takes as input. The labels of a BDD must increase in value as one traces the edges from the root. In other words, it is necessary that lb(v) < lb(lo(v)) and lb(v) < lb(hi(v)) for each internal vertex v. For the terminal vertices,

Figure 0007619487000006
と仮定する。最後に、BDDのサイズは、頂点の個数|N|として定義される。
Figure 0007619487000006
Finally, the size of a BDD is defined as the number of vertices, |N|.

BDDの構造が与えられると、BDDの各頂点vに対して、その頂点に対応する論理関数fが再帰的に定義される。すなわち、終端頂点 Given the structure of a BDD, for each vertex v of the BDD, a logic function f v corresponding to that vertex is recursively defined.

Figure 0007619487000007
に対しては、それぞれf=true、f=falseとする。これらはそれぞれ恒真関数(入力値に関わらずtrueとなる論理関数)、恒偽関数(入力値に関わらずfalseとなる論理関数)である。それ以外の内部頂点vに対しては、
Figure 0007619487000007
For each internal vertex v, f v = true and f v = false. These are truth functions (logical functions that are true regardless of the input value) and falsity functions (logical functions that are false regardless of the input value), respectively. For other internal vertices v,

Figure 0007619487000008
とする。
Figure 0007619487000008
Let us assume that.

一例として、図4に示すグラフG及び端点集合Kが与えられたときのΓに対応する信頼性論理関数fを表現するBDDを図5に示す。ここで、図4に示す例では、丸がグラフGのノード、黒丸が端点(つまり、グラフGのノードのうち、端点集合Kに含まれるノード)を表している。また、図5に示す例では、a~aが内部頂点、a及びa10が終端頂点、実線がHI辺、破線がLO辺を表しており、丸の中の数字が内部頂点のラベルを表している。 As an example, Fig. 5 shows a BDD expressing a reliability logic function fK corresponding to ΓK when the graph G and the end point set K shown in Fig. 4 are given. In the example shown in Fig. 4, the circles represent the nodes of the graph G, and the black circles represent the end points (i.e., the nodes of the graph G that are included in the end point set K). In the example shown in Fig. 5, a1 to a8 represent the internal vertices, a9 and a10 represent the terminal vertices, the solid lines represent the HI edges, the dashed lines represent the LO edges, and the numbers in the circles represent the labels of the internal vertices.

信頼性論理関数fを表現するBDDは、その根rから第1の終端頂点 A BDD that represents a reliability logic function fK is a BDD that is a set of vertices from its root r to its first terminal vertex.

Figure 0007619487000009
までの経路が、Γの中の一部の状態に対応している。すなわち、BDDの根rから第1の終端頂点までの各経路のそれぞれは、Γに含まれる1つ以上の状態に対応している。
Figure 0007619487000009
, r, corresponds to some state in Γ K. That is, each path from the root r of the BDD to the first terminal vertex corresponds to one or more states in Γ K.

BDDの根rから第1の終端頂点までの経路が与えられたとき、ラベルがiである頂点からLO辺を辿ることはラベルiに対応するリンクeが故障していることを意味し、HI辺を辿ることはラベルiに対応するリンクeが動作していることを意味する。また、ラベルがiである頂点を通らないことは、ラベルiに対応するリンクeの状態は考慮しないことを意味する。 Given a path from the root r of a BDD to the first terminal vertex, tracing the LO edge from a vertex whose label is i means that the link e i corresponding to the label i is faulty, tracing the HI edge means that the link e i corresponding to the label i is working, and not passing through a vertex whose label is i means that the state of the link e i corresponding to the label i is not taken into consideration.

例えば、図5において、ラベル1の頂点a→頂点aのHI辺→ラベル2の頂点a→頂点aのHI辺→ラベル4の頂点a→頂点aのLO辺→ラベル5の頂点a→頂点aのHI辺→第1の終端頂点という経路は、(e,e,e,e,e)=(動作,動作,動作,故障,動作)及び(動作,動作,故障,故障,動作)という2つの状態と対応する。 For example, in FIG. 5, the path from vertex a1 with label 1 → HI edge of vertex a1 → vertex a2 with label 2 → HI edge of vertex a2 → vertex a6 with label 4 → LO edge of vertex a6 → vertex a8 with label 5 → HI edge of vertex a8 → first terminal vertex corresponds to two states: ( e1 , e2 , e3 , e4 , e5 ) = (action, action, action, fault, action) and (action, action, fault, fault, action).

信頼性論理関数fを表現するBDDを効率的に構築するのが、非特許文献1や2に記載されている手法である。従って、信頼性論理関数fを表現するBDDを構築する具体的な方法については、非特許文献1や2等を参照されたい。 Efficiently constructing a BDD that expresses a reliability logic function fK is a method described in Non-Patent Documents 1 and 2. Therefore, please refer to Non-Patent Documents 1, 2, etc. for a specific method of constructing a BDD that expresses a reliability logic function fK .

<ステップS103の詳細>
本ステップでは、計算部203は、BDDの頂点のペアを一状態とする新たな動的計画法によりネットワーク信頼性の分散の値を計算する。以下では、まずネットワーク信頼性の分散の値を計算するための考え方について説明した後、その計算を行うための具体的な手順を表すアルゴリズムについて説明する。
<Details of step S103>
In this step, the calculation unit 203 calculates the variance of the network reliability by a new dynamic programming method in which a pair of vertices of the BDD is one state. In the following, the idea of calculating the variance of the network reliability is first explained, and then an algorithm showing a specific procedure for performing the calculation is explained.

まず、信頼性論理関数fを表現するBDDの各頂点vに対して、e,・・・,elb(v)-1の状態を固定した下で、端点(つまり、端点集合Kに含まれるノード)が全て接続する条件付き確率をRとする。すると、各リンクの可用性Pを用いて、以下の式(3)及び(4)に示す等式が成立する。 First, for each vertex v of the BDD expressing the reliability logic function f K , the conditional probability that all the end points (i.e., the nodes included in the end point set K) are connected under the fixed state of e 1 , ..., e lb (v)-1 is defined as R v . Then, the following equations (3) and (4) hold using the availability P i of each link.

Figure 0007619487000010
このとき、根rに対応するRがネットワーク信頼性R(K)である。
Figure 0007619487000010
In this case, R r corresponding to the root r is the network reliability R G (K).

ここで、P,・・・,Pが確率変数ならば、RはP,・・・,Pに従属する確率変数となる。従って、BDDの頂点のペアu,v∈Nに対して、RとRのP,・・・,Pに関する共分散Cov[R,R]を考えることができる。このとき、ネットワーク信頼性の分散Var[R(K)]は、Cov[R,R]と表すことができる。 Here, if P 1 , ..., P m are random variables, R v is a random variable dependent on P 1 , ..., P m . Therefore, for a pair of vertices u, v ∈ N of the BDD, we can consider the covariance Cov[R u , R v ] of R u and R v with respect to P 1 , ..., P m . In this case, the variance Var[R G (K)] of the network reliability can be expressed as Cov[R r , R r ].

共分散に関する等式を用いることにより、共分散Cov[R,R]はその子頂点に関する共分散に分解することができる。例えば、uとvのラベルがlb(u)=lb(v)=iと等しい場合、q=1-pとして以下の式(5)に示す等式が成立する。 By using the equality for covariance, the covariance Cov[R u , R v ] can be decomposed into the covariances for its child vertices. For example, if the labels of u and v are equal, i.e., lb(u)=lb(v)=i, then the equality shown in the following formula (5) holds with q i =1−p i .

Figure 0007619487000011
また、uのラベルがvのラベルより小さい場合、すなわちi=lb(u)<lb(v)の場合、以下の式(6)に示す等式が成立する。
Figure 0007619487000011
Furthermore, when the label of u is smaller than the label of v, that is, when i=lb(u)<lb(v), the equality shown in the following equation (6) holds.

Figure 0007619487000012
lb(u)>lb(v)の場合も同様の等式(つまり、上記の式(6)と対称な式)が成立する。更に、uとvの少なくともいずれか一方が終端頂点である場合、Cov[R,R]=0となる。
Figure 0007619487000012
A similar equality (i.e., an equation symmetrical to equation (6) above) holds when lb(u)>lb(v). Furthermore, if at least one of u and v is a terminal vertex, then Cov[R u , R v ]=0.

以上の等式を再帰的に用いることで、Var[R(K)]=Cov[R,R]を再帰的に分割し計算することが可能になる。 By recursively using the above equation, it becomes possible to recursively divide and calculate Var[ RG (K)]=Cov[ Rr , Rr ].

・ネットワーク信頼性の分散の値を計算する手順
以下では、BDDによりネットワーク信頼性の分散の値を計算する手順を表すアルゴリズムについて、図6を参照しながら説明する。ここで、本アルゴリズムの入力はBDD B=(N,A)とリンクeの可用性の平均p及び分散σ であり、出力はBが表すネットワーク信頼性の分散値である。なお、本アルゴリズムの各行が表す手順は計算部203によって実行される。
Procedure for Calculating the Variance of Network Reliability Below, an algorithm representing a procedure for calculating the variance of network reliability using a BDD will be described with reference to Fig. 6. Here, the input of this algorithm is a BDD B = (N, A) and the average p i and variance σ i 2 of the availability of link e i , and the output is the variance of the network reliability represented by B. Note that the procedure represented by each line of this algorithm is executed by the calculation unit 203.

まず、1行目~3行目では、各v∈Nに対して、e[v]=E[R]を計算する。具体的には、まず、1行目で第1の終端頂点に関しては1.0、第2の終端頂点に関しては0.0をそれぞれ代入する。そして、2行目~3行目で、ラベルが大きい頂点を先に走査する順番(bottom-up order)でe[v]←q・e[lo(v)]+p・e[hi(v)]によりe[v]の値を順に計算する。この過程で、ネットワーク信頼性の期待値E[R(K)]=e[r]も求まる。なお、q=1-pである。 First, in lines 1 to 3, e[v] = E[R v ] is calculated for each v∈N. Specifically, in line 1, 1.0 is assigned to the first terminal vertex, and 0.0 is assigned to the second terminal vertex. Then, in lines 2 to 3, the value of e[v] is calculated in order by e[v]←q i · e[lo(v)] + p i · e[hi(v)] in bottom-up order, where the vertices with larger labels are scanned first. In this process, the expected value of the network reliability E[R G (K)] = e[r] is also calculated. Note that q i = 1 - p i .

次に、4行目で再帰的手続き(関数)であるCov(r,r)を呼び出す。手続きCov(u,v)は共分散Cov[R,R]を計算する再帰的手続きであり、その中身は5行目~17行目に記述されている。まず、6行目~7行目で、uとvの少なくともいずれか一方が終端頂点であれば0を答えとして返す。次に、8行目~9行目で、すでに共分散Cov[R,R]を計算していれば、計算済みの値を答えとして返す。ここで、計算済みのCov[R,R]を保存するためのキャッシュとして連想配列cを用意し、c[(u,v)]にCov[R,R]の値を格納する。 Next, in line 4, a recursive procedure (function) Cov(r,r) is called. Procedure Cov(u,v) is a recursive procedure that calculates the covariance Cov[R u ,R v ], and its contents are described in lines 5 to 17. First, in lines 6 to 7, if at least one of u and v is a terminal vertex, 0 is returned as the answer. Next, in lines 8 to 9, if the covariance Cov[R u ,R v ] has already been calculated, the calculated value is returned as the answer. Here, an associative array c is prepared as a cache for storing the calculated Cov[R u ,R v ], and the value of Cov[R u ,R v ] is stored in c[(u,v)].

以降は式(5)や式(6)を用いて、手続きCov(u,v)を再帰的に呼び出すことによりCov[R,R]を計算する。すなわち、10行目でuのラベルとvのラベルの小さい方をiに格納した後、uのラベルがvのラベルより小さい場合は式(6)を用いてCov[R,R]を計算し(11行目~12行目)、vのラベルがuのラベルより小さい場合は式(6)と対称な式を用いてCov[R,R]を計算し(13行目~14行目)、ラベルuとラベルvが等しい場合は式(5)を用いてCov[R,R]を計算する。そして、最後に、計算したCov[R,R]の値を返す(17行目)。これにより、ネットワーク信頼性の分散値が得られる。 Thereafter, Cov[R u , R v ] is calculated by recursively calling the procedure Cov(u, v) using formula (5) and formula (6). That is, after storing the smaller of the labels of u and v in i on line 10, if the label of u is smaller than the label of v, Cov[R u , R v ] is calculated using formula (6) (lines 11 to 12), if the label of v is smaller than the label of u, Cov[R u , R v ] is calculated using a formula symmetric to formula (6) (lines 13 to 14), and if the label u and the label v are equal, Cov[R u , R v ] is calculated using formula (5). Finally, the calculated value of Cov[R u , R v ] is returned (line 17). This allows the variance value of the network reliability to be obtained.

<まとめ>
以上により、本実施形態に係る分散計算装置10は、これまでは素朴な方法以外では計算できなかったネットワーク信頼性の分散値を高速に計算することが可能となる。特に、100~200程度のリンク規模の実ネットワークに対してもネットワーク信頼性の分散値を計算できることが確かめられた。これにより、各リンクの可用性の不確かさがネットワーク信頼性の不確かさに与える影響を定量的に評価することができる。したがって、例えば、稼働実績が無く正確な可用性がわからないリンクがネットワークに追加された場合に、そのリンクがネットワーク信頼性の不確かさにどう影響するのかを定量的に分析することができる。
<Summary>
As described above, the distributed computing device 10 according to this embodiment is capable of quickly calculating the variance value of network reliability, which could not be calculated by any method other than a simple one up until now. In particular, it has been confirmed that the variance value of network reliability can be calculated even for an actual network with a scale of about 100 to 200 links. This makes it possible to quantitatively evaluate the effect of the uncertainty of the availability of each link on the uncertainty of the network reliability. Therefore, for example, when a link that has no operational history and whose accurate availability is unknown is added to a network, it is possible to quantitatively analyze how the link affects the uncertainty of the network reliability.

なお、本実施形態に係る分散計算装置10は、求めたネットワーク信頼性の分散値を用いて種々のネットワーク制御を行ってもよい。例えば、同程度のネットワーク信頼性であれば分散値が低いネットワークとなるように制御したり、仮にネットワーク信頼性が低くても或る基準範囲内であれば分散値が低いネットワークとなるように制御したりする、といった制御を行ってもよい。 The distributed computing device 10 according to this embodiment may perform various network controls using the calculated variance value of the network reliability. For example, it may perform control so that the network has a low variance value if the network reliability is the same, or it may perform control so that the network has a low variance value if the network reliability is low but within a certain reference range.

本発明は、具体的に開示された上記の実施形態に限定されるものではなく、請求の範囲の記載から逸脱することなく、種々の変形や変更、既知の技術との組み合わせ等が可能である。The present invention is not limited to the specifically disclosed embodiments above, and various modifications, variations, and combinations with known technologies are possible without departing from the scope of the claims.

10 分散計算装置
101 入力装置
102 表示装置
103 外部I/F
103a 記録媒体
104 通信I/F
105 プロセッサ
106 メモリ装置
107 バス
201 入力部
202 構築部
203 計算部
204 出力部
10 Distributed computing device 101 Input device 102 Display device 103 External I/F
103a Recording medium 104 Communication I/F
105 Processor 106 Memory device 107 Bus 201 Input section 202 Construction section 203 Calculation section 204 Output section

Claims (8)

連結な無向グラフG=(V,E)と、端点集合K⊂Vと、前記無向グラフGを構成するリンクe∈Eの可用性の平均p及び分散σ とを入力する入力手順と、
前記無向グラフGと、前記端点集合Kとに基づいて、前記端点集合Kに含まれる全てのノードが接続する状態を全て持つ二分決定グラフを構築する構築手順と、
前記二分決定グラフと、前記リンクe∈Eの可用性の平均p及び分散σ とに基づいて、前記端点集合Kに含まれる全てのノードが接続する確率を表すネットワーク信頼性の分散値を計算する計算手順と、
をコンピュータが実行する分散計算方法。
An input procedure for inputting a connected undirected graph G=(V, E), a set of end vertices K⊂V, and the mean p i and variance σ i 2 of the availability of links e i ∈E constituting the undirected graph G;
A construction step of constructing a binary decision diagram having all states in which all nodes included in the end point set K are connected, based on the undirected graph G and the end point set K;
A calculation procedure for calculating a variance value of network reliability representing a probability that all nodes included in the end point set K are connected based on the binary decision diagram and the average p i and variance σ i 2 of the availability of the link e i ∈E;
A distributed computing method in which a computer performs
前記計算手順は、
前記リンクe∈Eの可用性の平均p及び分散σ を用いて、前記二分決定グラフの頂点ペアに対する共分散を再帰的に計算することで、前記ネットワーク信頼性の分散値を計算する、請求項1に記載の分散計算方法。
The calculation procedure is as follows:
The variance calculation method according to claim 1 , further comprising the steps of: calculating a variance value of the network reliability by recursively calculating a covariance for a pair of vertices of the binary decision diagram using the mean p i and variance σ i 2 of the availability of the link e i ∈E.
前記計算手順は、
前記二分決定グラフの各頂点vに対して、各リンクe,・・・,elb(v)-1(ただし、lb(v)は頂点vのラベル)の各々が動作しているか又は故障しているかのいずれであるかを表す状態を固定した下で、前記端点集合Kに含まれる全てのノードが接続する条件付き確率をR、前記リンクeの可用性をP、前記二分決定グラフの根である頂点をrとしたとき、RとRのP,・・・,P(ただし、m=|E|)に関する共分散の値を、前記ネットワーク信頼性の分散値として計算する、請求項1又は2に記載の分散計算方法。
The calculation procedure is as follows:
3. The method of claim 1, further comprising the steps of: fixing a state indicating whether each of links e 1 , ..., e lb(v)-1 (where lb(v) is the label of vertex v) is working or broken for each vertex v of the binary decision diagram; defining a conditional probability that all nodes included in the terminal set K are connected as R v , defining the availability of the link e i as P i , and defining a vertex that is the root of the binary decision diagram as r; and calculating a covariance value of R r and R r with respect to P 1 , ..., P m (where m = |E|) as the variance value of the network reliability.
前記計算手順は、
前記二分決定グラフの任意の頂点ペアを(u,v)としたときのRとRのP,・・・,Pに関する共分散をCov[R,R]として、
頂点uのラベルと頂点vのラベルの等しい場合に成り立つ第1の等式と、頂点uのラベルが頂点vのラベルより小さい場合に成り立つ第2の等式と、頂点vのラベルが頂点uのラベルより小さい場合に成り立つ第3の等式とのいずれかにより前記共分散Cov[R,R]を再帰的に計算することで、前記RとRのP,・・・,Pに関する共分散をCov[R,R]の値を計算する、請求項3に記載の分散計算方法。
The calculation procedure is as follows:
When an arbitrary pair of vertices in the BDD is (u, v), the covariance of R u and R v with respect to P 1 , . . . , P m is Cov[R u , R v ],
4. The variance calculation method according to claim 3, wherein the covariance Cov[R u , R v ] is calculated by recursively calculating the covariance Cov[R u , R v ] using any one of a first equation that holds when the label of vertex u is equal to the label of vertex v, a second equation that holds when the label of vertex u is smaller than the label of vertex v, and a third equation that holds when the label of vertex v is smaller than the label of vertex u, thereby calculating the value Cov[R r , R r ] of the covariance of R r and R r with respect to P 1 , ..., P m .
前記計算手順は、
前記頂点uのラベルをlb(u)、前記頂点vのラベルをlb(v)、前記頂点uのHI辺が指す子頂点をhi(u)、前記頂点uのLO辺が指す子頂点をlo(u)、前記頂点vのHI辺が指す子頂点をhi(v)、前記頂点vのLO辺が指す子頂点をlo(v)、q=1-p、E(・)を期待値として、
lb(u)=lb(v)=iである場合、前記第1の等式は、Cov[R,R]=(q +σ )Cov[Rlo(u),Rlo(v)]+(p-σ )(Cov[Rlo(u),Rhi(v)]+Cov[Rhi(u),Rlo(v)])+(p -σ )Cov[Rhi(u),Rhi(v)]+σ (E[Rhi(u)]-E[Rlo(u)])(E[Rhi(v)]-E[Rlo(v)])であり、
i=lb(u)<lb(v)である場合、前記第2の等式は、Cov[R,R]=qCov[Rlo(u),R]+pCov[Rhi(u),R]であり、
i=lb(v)<lb(u)である場合、前記第3の等式は、Cov[R,R]=qCov[R,Rlo(v)]+pCov[R,Rhi(v)]である、請求項4に記載の分散計算方法。
The calculation procedure is as follows:
Let the label of the vertex u be lb(u), the label of the vertex v be lb(v), the child vertex pointed to by the HI edge of the vertex u be hi(u), the child vertex pointed to by the LO edge of the vertex u be lo(u), the child vertex pointed to by the HI edge of the vertex v be hi(v), the child vertex pointed to by the LO edge of the vertex v be lo(v), q i =1-p i , and E(·) be the expected value,
If lb(u)=lb(v)=i, then the first equation is Cov[R u , R v ]=(q i 2i 2 )Cov[R lo(u) ,R lo(v) ]+(p i q i −σ i 2 )(Cov[R lo(u) ,R hi(v) ]+Cov[R hi(u) ,R lo(v) ])+(p i 2 −σ i 2 )Cov[R hi(u) ,R hi(v) ]+σ i 2 (E[R hi(u) ]−E[R lo(u) ])(E[R hi(v) ]−E[R lo(v) ]),
If i=lb(u)<lb(v), the second equation is Cov[R u , R v ]=q i Cov[R lo(u) , R v ]+ pi Cov[R hi(u) , R v ];
5. The method of claim 4, wherein if i=lb(v)<lb(u), the third equation is Cov[ Ru , Rv ]= qiCov [ Ru , Rlo(v) ]+ piCov [ Ru , Rhi(v) ].
前記構築手順は、
リンクe∈Eが動作していればx=true、リンクe∈Eが故障していればx=falseとなる二値変数x,・・・,xを入力として前記端点集合Kに含まれる全てのノードが接続していればtrue、そうでなければfalseを出力とする論理関数を表現する二分決定グラフを構築する、請求項1乃至5の何れか一項に記載の分散計算方法。
The construction procedure is as follows:
6. The distributed computing method according to claim 1 , further comprising: constructing a binary decision diagram expressing a logical function that takes binary variables x1, ..., xm as input, where xi = true if link e i E is working, and xi = false if link e i ∈ E is faulty, and outputs true if all nodes included in the end point set K are connected, and false otherwise.
連結な無向グラフG=(V,E)と、端点集合K⊂Vと、前記無向グラフGを構成するリンクe∈Eの可用性の平均p及び分散σ とを入力するように構成されている入力部と、
前記無向グラフGと、前記端点集合Kとに基づいて、前記端点集合Kに含まれる全てのノードが接続する状態を全て持つ二分決定グラフを構築するように構成されている構築部と、
前記二分決定グラフと、前記リンクe∈Eの可用性の平均p及び分散σ とに基づいて、前記端点集合Kに含まれる全てのノードが接続する確率を表すネットワーク信頼性の分散値を計算するように構成されている計算部と、
を有する分散計算装置。
An input unit configured to input a connected undirected graph G=(V, E), a set of edge vertices K⊂V, and the mean p i and variance σ i 2 of the availability of links e i ∈E constituting the undirected graph G;
A construction unit configured to construct a binary decision diagram having all states to which all nodes included in the end point set K are connected, based on the undirected graph G and the end point set K;
A calculation unit configured to calculate a variance value of a network reliability representing a probability that all nodes included in the end point set K are connected based on the binary decision diagram and the average p i and variance σ i 2 of the availability of the link e i ∈E;
A distributed computing device having:
コンピュータに、請求項1乃至6の何れか一項に記載の分散計算方法を実行させるプログラム。A program for causing a computer to execute the distributed computing method described in any one of claims 1 to 6.
JP2023572322A 2022-01-07 2022-01-07 Distributed computing method, distributed computing device, and program Active JP7619487B2 (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/JP2022/000401 WO2023132066A1 (en) 2022-01-07 2022-01-07 Variance calculation method, variance calculation device, and program

Publications (2)

Publication Number Publication Date
JPWO2023132066A1 JPWO2023132066A1 (en) 2023-07-13
JP7619487B2 true JP7619487B2 (en) 2025-01-22

Family

ID=87073489

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2023572322A Active JP7619487B2 (en) 2022-01-07 2022-01-07 Distributed computing method, distributed computing device, and program

Country Status (2)

Country Link
JP (1) JP7619487B2 (en)
WO (1) WO2023132066A1 (en)

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
佐々木 勇和 ほか,BDDによるネットワーク信頼性の近似計算,電子情報通信学会技術研究報告,日本,一般社団法人電子情報通信学会,2017年12月15日,第117巻,第374号,pp.85-90
佐々木勇和 ほか,曖昧グラフにおける効率的なネットワーク信頼性の近似計算,日本データベース学会和文論文誌 [オンライン],日本,日本データベース学会,2020年03月31日,第18-J巻,pp.1-8

Also Published As

Publication number Publication date
JPWO2023132066A1 (en) 2023-07-13
WO2023132066A1 (en) 2023-07-13

Similar Documents

Publication Publication Date Title
Harris et al. PC algorithm for nonparanormal graphical models.
Wang et al. An XQDD-based verification method for quantum circuits
US20180278640A1 (en) Selecting representative metrics datasets for efficient detection of anomalous data
US11386507B2 (en) Tensor-based predictions from analysis of time-varying graphs
US20210037031A1 (en) Contextual anomaly detection across assets
US11675009B2 (en) Converting formal verification testbench drivers with nondeterministic inputs to simulation monitors
Petit et al. Random walks on dense graphs and graphons
Finkel et al. Reachability for two-counter machines with one test and one reset
Carrascal et al. A Bayesian-network-based quantum procedure for failure risk analysis
JP7359206B2 (en) Learning devices, learning methods, and programs
JP7619487B2 (en) Distributed computing method, distributed computing device, and program
CN116842073A (en) Graph data mining method, device and electronic equipment
JP7773729B2 (en) Network reliability calculation method, network reliability calculation device and program
CN115729554A (en) Formalized verification constraint solving method and related equipment
Khim et al. Permutation tests for infection graphs
CN119356724A (en) Code generation model evaluation method, device, program product and electronic device
Wang et al. A novel reliability assessment method for binary-state networks
Ahmad et al. Towards Formal Reliability Analysis of Logistics Service Supply Chains using Theorem Proving.
JP2024141294A (en) Size-specific unavailability calculation device, size-specific unavailability calculation method and program
Freer et al. Computable exchangeable sequences have computable de Finetti measures
US20210271993A1 (en) Observed event determination apparatus, observed event determination method, and computer readable recording medium
Bollig On the complexity of some ordering problems
JP7761155B2 (en) Causal model construction device, causal model construction method, and program
Stegehuis et al. Efficient inference in stochastic block models with vertex labels
CN119299199B (en) Network topology structure annotation method, device and equipment for network security threats

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20240430

RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20240701

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20241210

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20241223

R150 Certificate of patent or registration of utility model

Ref document number: 7619487

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

S533 Written request for registration of change of name

Free format text: JAPANESE INTERMEDIATE CODE: R313533

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350