The present disclosure relates to a network design evaluation technique, a network design evaluation apparatus, and a program, which find edge-disjoint paths in a network.
In discrete mathematical programming, such as combinatorial optimization and constraint satisfaction problems, a zero-suppressed binary decision diagram (ZDD) has received attention (see, e.g., NPL1). In many of mathematical programming problems, to search for an optimal solution in a feasible region that satisfies constraints, a good representation method for constraints holds the key to computational efficiency. A ZDD is a data structure and an algorithm that provide a compact representation of constraints without excess and deficiency.
It is known that handling constraints by using a ZDD allows efficient execution of optimization and probability evaluation. For example, it is possible to select a feasible solution with the minimum cost from among those satisfying the constraints and also to evaluate a probability of a system to be not feasible. In recent years, constraints defined by using a network (NW) and a graph can be handled with a ZDD by a newly developed algorithm called frontier-based search (see, e.g., NPL2).
The frontier-based search can handle major graph constraints such as paths and connectivity. However, constraints of edge-disjoint paths, which is a major concept described in most textbooks related to algorithms and optimization, could not be handled in the frontier-based search.
First, an edge-disjoint path will be described. A graph G=(V, E) and several pairs of vertices K={{u, v}, . . . }⊂V*V are given for a set of vertices V and a set of edges E. In the present invention, an undirected graph is considered. To satisfy the edge-disjoint path constraint, not only a path connecting the vertices of each of the pairs of vertices K are present, but also any of these paths must not pass the same edge (the paths may pass the same vertex). Depending on a graph and pairs of vertices edge-disjoint path may not exist, or may some patterns of edge-disj oint paths exists.
With a NW in
The edge-disjoint constraint provides a fundamental concept representing basic concepts representing a resource conflict in a NW and forms the foundations of wavelength assignment, traffic engineering, and so on. However, to find all the edge-disjoint paths present in a NW, all the 2|E| combinations of edges need to be examined, and this leads to a problem that the operation is not completed within a realistic time even in a case with a small graph with |E| of several tens.
To solve the above problems, an object of the present invention is to provide a network design evaluation method, a network design evaluation apparatus, and a program with the ZDD algorithm for finding all edge-disjoint paths in a given graph G within a finite time.
In order to achieve the above object, a network design evaluation method according to the present invention includes extracting all paths for each specified pair of vertices in a given graph in the frontier-based search, representing a set of paths having, as elements, the paths extracted for each pair of vertices in a ZDD, and performing a disjoint join operation for all the sets of paths represented in ZDDs, to thereby extract edge-disjoint paths.
Specifically, the network design evaluation method according to the present invention includes: a condition input step of giving, when a network is represented with vertices and edges, a graph and at least one pair of vertices, the graph consisting of a set of vertices and a set of edges, each of the pairs of vertices consisting of two vertices included in the set of vertices; a path set calculation step of calculating, for each of the pair of vertices given in the condition input step, a set of paths each connecting the two vertices with at least one edge included in the set of edges, in frontier-based search; and an edge-disjoint path extraction step of calculating a disjoint join for all the sets of paths calculated in the path set calculation step, to extract all edge-disjoint paths included in the graph given in the condition input step.
A network design evaluation apparatus according to the present invention includes: a storage unit configured to store a graph and at least one pair of vertices given for a network represented by vertices and edges, the graph consisting of a set of vertices and a set of edges, the pair of vertices consisting of two vertices included in the set of vertices; a path set calculation unit configured to calculate, for each of the pairs of vertices stored in the storage unit, a set of paths each connecting the two vertices with at least one edge included in the set of edges, in frontier-based search; and an edge-disjoint path extraction unit configured to calculate a disjoint join for all the sets of paths calculated by the path set calculation unit, to extract all edge-disjoint paths included in the graph stored in the storage unit.
In the present invention, instead of finding edge-disjoint paths one by one, a set of edges is found for each of the pairs of vertices in the frontier-based search first, and edge-disjoint paths are extracted through disjoint join operation for combinations with no common element. Because sets of edges can be found efficiently in the frontier-based search, all edge-disjoint paths in a NW can be found within a finite time. Hence, the present invention can provide a network design evaluation method, a network design evaluation apparatus, and a program with a ZDD algorithm for finding all edge-disjoint paths in a given graph G within a finite time.
A program according to the present invention is a program for causing a computer to execute the above-described network design evaluation method. The network design evaluation method can be executed with a computer and a program, and the program can be recorded in a recording medium or can be provided through a network.
The present invention can provide a network design evaluation method, a network design evaluation apparatus, and a program with a ZDD algorithm for finding all edge-disjoint paths in a given graph G within a finite time.
An embodiment of the present invention will be described with reference to the drawings. The embodiment to be described below is an example of the present invention. The present invention is not limited to the following embodiment. Note that, in this specification and the drawings, constituent elements having the same reference signs are assumed to be the same.
Condition Input Step S01
First, for an evaluation target network represented by vertices and edges, a graph G consisting of a set of vertices and a set of edges and at least one pair of vertices K each of the pair consisting of two vertices included in the set of vertices are externally provided to the storage unit 11 such as by an operator or the like.
Path Set Calculation Step S02
Subsequently, the path set calculation unit 12 finds, for each of the pairs of vertices K, all paths in the frontier-based search described in NPL2. As an example,
Edge-Disjoint Path Extraction Step S03
Further, the edge-disjoint path extraction unit 13 joins the sets of paths to provide edge-disjoint paths. In a case that two sets of paths Π1 and Π2 are present, it is only required to perform the following disjoint join calculation, to obtain paths P∈Π1 and PΠ2 that do not have common elements.
Here, denotes a Disjoint Join operation.
The execution of this calculation utilizes the ZDD algorithm proposed in NPL3. The edge-disjoint extraction unit extracts all the edge-disjoint paths illustrated in
According to the network design evaluation method of the present invention, it is possible to represent constraints of edge-disjoint paths as a ZDD. With this, it can be expected that discrete mathematical programming, such as combinatorial optimization and constraint satisfaction problems, is efficiently solved.
Number | Date | Country | Kind |
---|---|---|---|
2018-113884 | Jun 2018 | JP | national |
Filing Document | Filing Date | Country | Kind |
---|---|---|---|
PCT/JP2019/022764 | 6/7/2019 | WO | 00 |