Algorithm for the Vertex Connectivity Problem on Circular Trapezoid Graphs ()
1. Introduction
The vertex connectivity
of a graph G is the minimum number of nodes whose deletion disconnects it. The computation of
for a given graph G is known as the vertex connectivity (vertex connectivity) problem, and it is one of the most fundamental problems in graph theory. In recent years, many studies related to vertex connectivity have been conducted [1] - [6]. Even and Tarjan developed an
time algorithm to calculate the vertex connectivity of a general graph [7]. In many cases, more efficient algorithms can be developed by restricting the classes of graphs. For example, Ghosh and M. Pal presented an
time algorithm to solve the VC problem for trapezoid graphs [8]. Subsequently, this algorithm was improved by Ilić [9] to
time by using a binary indexed tree.
Lin introduced circular trapezoid graphs (CTG), which constitute a proper superclass of trapezoid graphs and circular-arc graphs [10]. He also presented
time and
time algorithms for the maximum weighted independent set and the minimum weighted independent dominating set on CTGs, respectively [10]. In this paper, we designed an
time algorithm to solve the VC problem on CTGs. Our algorithm was realized by skillfully combining the methods of [9] and [11].
The rest of this paper is organized as follows. Section 2 describes some definitions of circle trapezoid graphs and models and introduces the extended circle trapezoid model, as well as some notations. Section 3 presents some properties on circle trapezoid graphs, which are useful for finding vertex connectivity in an efficient manner. Section 4 describes our algorithm for the VC problem and its complexity. Finally, Section 5 concludes the paper.
2. Definitions
We describe the circular trapezoid model (CTM) before defining the CTG. The model comprises inner and outer circles C1 and C2 with radii
, respectively. Each circle is arranged counterclockwise with consecutive integer values
, where n is the number of trapezoids. Consider the two arcs, A1 and A2, on C1 and C2, respectively. Points a and b are the first points encountered when traversing the arc A1 counterclockwise and clockwise, respectively; similarly, points c and d are the first points encountered when traversing the arc A2 counterclockwise and clockwise, respectively. A trapezoid is the region in circles C1 and C2 that lies between two non-crossing chords ac and bd. A trapezoid
is defined by four corner points
. Without loss of generality, we assume that each trapezoid has four distinct corner points. Each trapezoid
is numbered in ascending order according to their corner point
, i.e.,
if
. The geometric representation described above is the CTM. Figure 1 (a)
illustrates an example of a CTM M having 8 trapezoids. For example, CTM is used for cities comprising cityscapes that spread radially around facilities such as stations and rotaries. It is used to visually represent the relationships among communities (linkage of transportation networks, sharing of infrastructure facilities, etc.), and it is applied to the optimization of city planning and facility arrangement. Table 1 shows the details of M as depicted in Figure 1(a).
(a) (b)
Figure 1. Circular trapezoid model M and graph G. (a) Circular trapezoid model M; (b) Circular trapezoid graph G.
A graph G is a CTG if it can be represented by the following CTM M: each vertex of the graph corresponds to a trapezoid, and two vertices in G are considered adjacent if and only if their corresponding trapezoids intersect. Figure 1(b) illustrates the CTG G corresponding to CTM M shown in Figure 1(a). In this example, G is disconnected by removing vertices 1, 5, and 6 from G. Thus, the vertex connectivity of G is 3.
In the following, we introduce an extended circular trapezoid model (ECTM) constructed from a CTM. Let n be the number of trapezoids in CTM M. Consider a fictitious line p that connects the points placed between 1 and 2n of C1 and C2. First, we cut CTM along fictitious line p and expand the two circles C1 and C2 into parallel horizontal lines called top and bottom channels, respectively.
Hereafter, to avoid confusion, we denote trapezoids in CTM and ECTM by
and
, respectively. Finally, for each
,
, copies of
and
are created by shifting 2n to the right and left, respectively. An ECTM is constructed from a CTM by the above process, which can be executed in
time [11]. Figure 2 illustrates an ECTM EM constructed from the CTM M shown in Figure 1(a). Table 2 shows the details of EM.
Some notations that form the basis of our algorithm in Section 4 are defined as follows. A separating set in a connected graph G is a set of vertices whose deletion disconnects G. We introduce a new concept to ECTM that is similar to the separating set in CTG. A separating trapezoid set in an ECTM EM is a set of trapezoids whose deletion separates EM into two or more components. Let S be a separating trapezoid set of EM.
is a trapezoid set that is obtained by deleting S from all trapezoid sets of EM. If
has k components, we denote
. Moreover, let
be a induced subgraph of G by the trapezoid set
.
3. Properties of Vertex Connectivity on TCGs
We describe some lemmas that are useful for constructing the algorithm for the VC problem.
Lemma 1. [11] For a given CTM M, an ECTM EM corresponding to M is constructed in
time.
Lemma 2. [9] For a trapezoid graph G, the VC problem is solved in
time.
Lemma 3. [9] By Lemma 2, for an ECTM EM, all smallest separating trapezoid sets can be found in
time.
Figure 2. Extended circular trapezoid model EM.
Lemma 4. [11] Let S be a separating trapezoid set of an ECTM EM. Then, for an ECTM EM, we can compute
in
time.
Lemma 5. Let G be a CTG G corresponding to an ECTM EM and let S be a separating trapezoid set of EM. Then, a CTG
is connected if
. Furthermore, a CTG
is disconnected if
.
(Proof) If EM consists of one component, it is obvious that G is connected. We consider the case when
, i.e., EM consists of two components. Assume that EM is divided into two components Ci and Cj, and vertices
and
(
) are in Ci and Cj, respectively. A trapezoid that intersects a fictitious line p is called a feedback trapezoid, where p connects the points placed between 1 and 2n of C1 and C2 in CTM M. No path exists from
to
through
for
(
) since EM is divided into two components Ci and Cj. However, some paths exist from
to
through some feedback trapezoids. Thus, in the case where EM consists of two components, G is connected. In the case where EM consists of three or more components, no path exists from
to
through or even through feedback trapezoids. This implies that CTG G corresponding to CTM M is disconnected.
4. Algorithm
4.1. Outline of Algorithm
Efficient algorithms that address various problems concerning non-circular intersection graphs (interval, permutation, trapezoid, etc.) have been developed. However, in general, problems for circular intersection graphs tend to be more difficult than those for non-circular intersection graphs. One cause is because, in contrast to non-circular intersection graphs, we cannot determine the starting position of an algorithm uniquely for a circular intersection graph owing to the existence of feedback elements. For several problems, we can develop circular versions of the existing algorithms by constructing extended intersection models for the problems. By using extended intersection models such as an ECTM, we can determine the start position of an algorithm uniquely and apply the algorithms of the non-circular versions partially. For instance, this method has been applied to develop efficient algorithms for the shortest path query problem [12] [13] and the articulation vertex problem [14] on circular-arc graphs, maximum clique and chromatic number problems [15], the spanning forest problem [16] and the articulation problem [17] on circular permutation graphs, and the spanning tree problem [11] and the hinge vertex problem [18] on circular trapezoid graphs.
Here, we concisely describe the outline of our algorithm. When a given CTG has articulation vertices, the vertex connectivity is 1. We can find articulation vertices in
time by applying the traditional method with depth first search. Then, we discuss graphs that do not contain articulation vertices.
First, we construct an ECTM EM from a given CTM M by using Honma et al.’s algorithm [11] (Figure 2). Next, we compute the family of minimum cardinality separating trapezoid set
for a constructed EM. In the example in Figure 2, we obtain
and
. At this time, if even one Si exists such that
, the size of Si is the vertex connectivity of CTG G, by Lemma 5. By Lemma 4, for each
,
can be computed in
time by Honma et al.’s algorithm [11].
Conversely, we consider the case where multiple
exist such that
. In this case,
is a connected graph for every Si, by Lemma 5. In this case, a CTM
has a fictitious line connecting C1 and C2 that does not intersect any trapezoid in
(Figure 3(a)). The model opened along this line is equivalent to a regular trapezoid model, and we denote it as
(Figure 4). Again, we compute the minimum cardinality separating trapezoid sets
of
by using Ilić’s algorithm [9]. In the example of Figure 4, we obtain
.
After this process,
holds and
is disconnected, by Lemma 5. We can obtain the vertex connectivity of G by
. We formally describe Algorithm VC-CTG as follows. A CTM M is taken as an input. Our algorithm uses both Ilić’s and Honma et al.’s algorithms [9] [11].
4.2. Algorithm VC-CTG and Its Analysis
In this section, we present Algorithm VC-CTG to compute the vertex connectivity of a CTG G. We formally describe Algorithm VC-CTG as follows. A CTM M is taken as an input. Our algorithm uses both Ilić’s and Honma et al.’s algorithms [9] [11].
(a) (b)
Figure 3. Circular trapezoid model
and graph
. (a) CTM
; (b) CTG
.
Figure 4. Extended circular trapezoid model
.
Here, we analyze the complexity of Algorithm VC-CTG. In Step 1, we check whether given graph G has articulation vertices using the traditional algorithm. Moreover, we return that vertex connectivity is 2 when the minimum degree of vertices in G is 2. This step can be done in
time. In Step 2, we construct an ECTM EM from a given CTM M as an input. This step can be performed in
time by using Honma et al.’s algorithm [11]. In Step 3, we first compute all minimum cardinality separating trapezoid sets
. This process can execute in
time by using Ilić’s algorithm [9]. Here, we obtain the vertex connectivity
of G if there exists
such that
. This can execute in
time by using Honma et al.’s algorithm [11]. In Step 4, we compute a minimum cardinality separating trapezoid set
of
for each
. Step 3 requires time. Thus, we obtain the following theorem.
Theorem 6. Algorithm VC-CTG computes the vertex connectivity of CTG in time by taking its CTM M as an input.
5. Conclusion
In this study, we proposed Algorithm VC-CTG, which operates in time, to compute the vertex connectivity of a CTG. Our algorithm uses both Ilić’s and Honma et al.’s algorithms [9] [11]. CTM is used for cities comprising cityscapes that spread radially around facilities such as stations and rotaries. It is used to visually represent the relationships among communities (linkage of transportation networks, sharing of infrastructure facilities, etc.), and it is applied to the optimization of city planning and facility arrangement. Solutions to the VC problem can be applied to detect connection vulnerabilities in actual networks. Thus, we believe that this paper is significant from both theoretical and algorithmic perspectives. Future research will address reducing the complexity of the algorithm and extending the results to other graphs.
Acknowledgements
We express many thanks to anonymous referees for their valuable advices on the theory of our attacks and their helpful editorial comments. This work was partially supported by JSPS KAKENHI Grant Number 19K11834 and 17K00324.