• No results found

Connecting Vertices by Independent Trees

N/A
N/A
Protected

Academic year: 2022

Share "Connecting Vertices by Independent Trees"

Copied!
12
0
0

Laster.... (Se fulltekst nå)

Fulltekst

(1)

Manu Basavaraju

1

, Fedor V. Fomin

1

, Petr A. Golovach

1

, and Saket Saurabh

1,2

1 Department of Informatics, University of Bergen, PB 7803, 5020 Bergen, Norway

{manu.basavaraju,fedor.fomin,petr.golovach}@ii.uib.no 2 Institute of Mathematical Sciences, Chennai, India

[email protected]

Abstract

We study the paramereteized complexity of the following connectivity problem. For a vertex subsetU of a graph G, treesT1, . . . , Ts of Gare completely independent spanning trees ofU if each of them containsU, and for every two distinct verticesu, vU, the paths fromutov in T1, . . . , Ts are pairwise vertex disjoint except for end-verticesu andv. Then for a given s≥2 and a parameterk, the task is to decide if a givenn-vertex graphGcontains a set U of size at leastksuch that there arescompletely independent spanning trees ofU. The problem is known to be NP-complete already fors= 2. We prove the following results:

Fors= 2 the problem is solvable in time 2O(k)nO(1).

Fors= 2 the problem does not admit a polynomial kernel unless NP⊆coNP/poly.

For arbitrary s, we show that the problem is solvable in time f(s, k)nO(1)for some function f ofsandkonly.

1998 ACM Subject Classification F.2.2 Nonnumerical Algorithms and Problems, G.2.1 Com- binatorics, G.2.2 Graph Theory

Keywords and phrases Parameterized complexity, FPT-algorithms, completely independent spanning trees

Digital Object Identifier 10.4230/LIPIcs.FSTTCS.2014.73

1 Introduction

Two spanning treesT1andT2of a graphGare independent if they are rooted in the same vertex r and for every vertex v 6= r of G, the two (v, r)-paths, one in T1 and one in T2, are internally disjoint, i. e. having no edge and no internal vertex in common. Independent spanning trees have applications to fault-tolerant protocols in distributed processor networks [3, 11]. In 2001, Hasunuma in [7, 8] introduced the notion ofcompletely independent spanning trees, an interesting variant of the classical notion of connectivity. Formally, spanning trees T1, . . . , Ts of a graph Garecompletely independent if for every two distinct verticesu, vV(G), the (u, v)-paths in T1, . . . , Ts, are pairwise vertex disjoint except for end-vertices u andv.

The problem of deciding whether a graph Ghas two completely independent spanning trees is NP-complete [8]. Since not every graph has even two completely independent span- ning trees, the following optimization version of the problem is meaningful. For a given

Supported by the European Research Council (ERC) via grant Rigorous Theory of Preprocessing, reference 267959.

© Manu Basavaraju, Fedor V. Fomin, Petr A. Golovach, and Saket Saurabh;

(2)

s≥2, can one find a maximum set of vertices spanned byscompletely independent trees?

More precisely, for a set of vertices U of a graph G, we say that a subgraph T of G is a spanning tree of U if T is an inclusion-minimal tree in G containing all vertices of U. Spanning trees T1, . . . , Ts of U are completely independent if for any two distinct vertices u, vU, the (u, v)-paths inT1, . . . , Ts, are pairwise vertex disjoint except for end-vertices uand v. Then the task is to find a set of verticesU of maximum size (we call the vertices ofU terminals) such that there arescompletely independent spanning trees ofU.

In this paper, we initiate the study of the following parameterized problem.

Independently s-Connectedk-Set

Instance: A graphGand positive integerss≥2 andk.

Parameter 1: s.

Parameter 2: k.

Question: DoesGcontain a set of terminalsU of size at leastksuch that there ares completely independent spanning trees ofU?

Previous results. Hasunama [8] has shown that it is NP-complete to decide whether a graph G has two completely independent spanning trees. He also obtained a number of results about existence of completely independent spanning trees for some special graph classes. Other, mostly combinatorial, studies of the problem were carried out by Hasunuma and Morisaka [9] and Péterfalvi [12].

Our contribution. Our main result is stated in the following theorem.

ITheorem 1. Independently 2-Connectedk-Setcan be solved in time2O(k)nO(1) for n-vertex graphs.

We prove the theorem by applying a WIN/WIN approach. We start with a combinatorial result, which is interesting on its own. In Section 3 we show that every 2-connected graph of pathwidth at least k, contains as a minor a graph H, which is a tree on k vertices plus one vertex adjacent to all other vertices. We also give a polynomial time algorithm which either provide us H, or a path decomposition of widthk−1. As it is sufficient to solveIndependently 2-Connected k-Set for the blocks of the input graph, we either obtain two completely independent spanning trees for k terminals, or construct a path decomposition of width at mostk−1. The next step is an algorithm given in Section 5 that solvesIndependently2-Connectedk-Setin time single exponential in the treewidth of the input graph. This step is based on the recent techniques of computing representative sets of graphic matroids [4]. Combining together both cases, we obtain the proof of Theorem 1.

Let us remark, that the NP-hardness reduction in [8] from Not-All-Equal-3SAT reduces to a graph of size linear in the number of variables and clauses of the formula. Thus, unless the Exponential Time Hypothesis of Impagliazzo, Paturi, and Zane [10] fails, there is no 2o(k)nO(1) algorithm forIndependently 2-Connected k-Setand thus our upper bound is asymptotically tight up to ETH.

We complement our algorithm with a complexity result on kernelization forIndepend- ently2-Connected k-Set, namely that the problem does not admit a polynomial kernel unless NP⊆coNP/poly.

We also show thatIndependently s-Connectedk-Setis FPT when parameterized bys+k. It is not hard to reduceIndependently s-Connected k-Setto the problem of finding a topological minor of constant size in a graph. Then the result follows from a deep Theorem of Grohe, Kawarabayashi, Marx and Wollan [6] on the parameterized testing of topological minors.

(3)

2 Preliminaries

Graphs. We consider finite undirected graphs without loops or multiple edges. The vertex set of a graph G is denoted by V(G) and the edge set is denoted by E(G). For a set of verticesSV(G),G[S] denotes the subgraph of Ginduced byS, and byGS we denote the graph obtained from Gby the removal of all the vertices ofS, i. e., the subgraph of G induced byV(G)\S. For a single element set{v}, we writeGvinstead ofG− {v}. For a vertex v, we denote by NG(v) its(open) neighborhood in G, that is, the set of vertices which are adjacent tov. Thedegree of a vertexv is denoted bydG(v) =|NG(v)|, and ∆(G) is the maximum degree ofG. A vertexv is acut-vertex ofGifGv has more connected components than G. A connected graph with at least two vertices is 2-connected if it does not contain a cut-vertex. A maximal 2-connected subgraph of G is called a 2-connected component or block ofG. LetT be a tree. For a vertex vV(T), we say that vis aleaf if dT(v) = 1 ordT(v) = 0 (if|V(T)|= 1), and we say thatv is aninternal vertex otherwise.

Minors. Theedge contractionofe=uvremovesuandv fromG, and replaces them by a new vertex adjacent to precisely those vertices to whichuorvwere adjacent. Ifuis a vertex of degree two such that its neighbors x, yare not adjacent, then thevertex dissolution ofu removesuand adds a new edgexy. A graph H is aminor ofGifH can be obtained from a subgraph of G by a sequence of vertex deletions, edge deletions and edge contractions.

Alternatively, we can define minors as follows. For two non-empty vertex disjoint subsets X1, X2V(G), X1 and X2 are adjacent if there is uvE(G) such that uX1 and vX2. An H-witness structure W is a collection of |V(H)| non-empty vertex disjoint subsetsW(x)⊆V(G), one for each xV(H), called H-witness sets, such that eachW(x) induces a connected subgraph of G, and for all x, yV(H) with x 6= y, if x and y are adjacent in H, then W(x) and W(y) are adjacent in G. It is straightforward to see that H is a minor ofGif and only ifGhas anH-witness structure. A graph H is a topological minor of GifH can be obtained from a subgraph of Gby a sequence of vertex deletions, edge deletions and vertex dissolution. Notice that ifH is a topological minor ofG, then by subdividing edges ofH we can obtain a graph that is isomorphic to a subgraph of G.

Treewidth and pathwidth. Atree decomposition of a graphGis a pair (X, T) whereT is a tree and X={Xi|iV(T)} is a collection of subsets (calledbags) ofV(G) such that:

1. S

i∈V(T)Xi =V(G),

2. for each edgexyE(G),x, yXi for someiV(T), and

3. for eachxV(G), the set{i|xXi}induces a connected subtree ofT.

The width of a tree decomposition ({Xi | iV(T)}, T) is maxi∈V(T){|Xi| −1}. The treewidthof a graphG(denoted astw(G)) is the minimum width over all tree decompositions ofG.

If T is restricted to be a path, then (X, T) is said to be a path decomposition. Re- spectively, the pathwidth of a graphG(denoted as pw(G)) is the minimum width over all path decompositions ofG. Whenever we consider a path decomposition (X, P), we assume that the bags are enumerated in the path order with respect toP. In other words, a path decomposition of Gis a sequence of bags (X1, . . . , Xr).

3 Algorithm for Independently 2-Connected k-Set

In this section we design an algorithm forIndependently2-Connectedk-Set. We start by a simple characterization of completely independent spanning trees that we use in our

(4)

arguments. This is followed by a a structural result that shows that if the pathwidth of the input graph is large then the given instance is ayesinstance. We use this to design a algorithm mentioned in Theorem 1.

3.1 Characterization of completely independent spanning trees

Hasunuma proved in [7] that ifT1, . . . , Ts are spanning trees of a graphG, thenT1, . . . , Ts

are completely independent if and only if T1, . . . , Ts are edge-disjoint and for any vertex vV(G), there is at most one spanning tree Ti such thatdTi(v)>1. We need a similar claim for completely independent spanning trees of a set of terminals.

ILemma 2. Let G be a graph, and let UV(G) with |U| = k. Let also T1, . . . , Ts be spanning trees ofU. ThenT1, . . . , Tsare completely independent spanning trees ofU if and only if

1. T1, . . . , Ts are edge disjoint,

2. for alli, j∈ {1, . . . , s},i6=j, if vV(Ti)∩V(Tj), thenvU,

3. for eachvU, there is at most one i∈ {1, . . . , s} such that dTi(v)>1.

Proof. We assume thatk, s≥2, as the claim is trivial otherwise. We first show the forward direction. Suppose thatT1, . . . , Tsare completely independent spanning trees ofU.

We show that for anyi, j∈ {1, . . . , s},i6=j,TiandTjhave no common vertex that is an internal vertex of both the trees. To obtain a contradiction, assume thatuV(Ti)∩V(Tj) is an internal vertex of both Ti and Tj. The vertex uis a cut-vertex of Ti. Because Ti is an inclusion-minimal tree that containsU, there are two terminalsx, yU that are in two distinct componentsTi0 andTi00ofTiurespectively. The treeTj has the unique (x, y)-path Pandu /V(P). Sinceuis an internal vertex ofTj,Tj−uhas at least two components, and P lies completely in one componentTj0 ofTju. By minimality, there iszU such thatz is in another component ofTju. Notice thatz /V(Ti0) orz /V(Ti00). Assume without loss of generality thatz /V(Ti0). BecausexV(P) and z are in distinct components of Tju,uis an internal vertex of the (x, z)-path inTj. Becausez /V(Ti0) andxV(Ti0),u is an internal vertex of the (x, z)-path inTi as well, but it contradicts the assumption that T1, . . . , Tsare completely independent spanning trees ofU.

The proved claim immediately implies (3). To show (1), assume that two distinct trees Ti, Tjhave a common edgeuv. Because neitherunorvcan be an internal vertex of the both trees, we can assume without loss of generality thatuis a leaf of Ti andv is a leaf of Tj. BecauseTi, Tj are inclusion-minimal trees that containsU, any leaf ofTiorTj is a terminal, and u, vU. Then we have that the (u, v)-paths in Ti and Tj have a common edge; a contradiction. To prove (2), it is sufficient to observe that ifvV(Ti)∩V(Tj) andv /U, then by minimality ofTi, Tj,v is an internal vertex of both these trees, a contradiction.

Assume now thatT1, . . . , Tsare spanning trees of U that satisfy (1)–(3). Consider any distinctu, vUandi, j∈ {1, . . . , s}. LetPi, Pjbe the (u, v)-paths inTiandTjrespectively.

By (1),Pi and Pj are edge disjoint. IfPi andPj have a common vertexx6=u, v, then by (2),xU, and then dTi(x), dTj(x)≥2 contradicting (3). Hence,Pi and Pj are internally

vertex disjoint. J

Clearly, ifGis a disconnected subgraph, thenGhas a set of terminalsU of size at least ksuch that there are s completely independent spanning trees of U if and only if there is such a set of terminals in one of the components ofG, i. e., we can consider only connected graphs. Lemma 2 implies that we can restrict ourself by 2-connected graphs. To see it, it is sufficient to observe that if a set of terminalsU has two vertices that does not belong to

(5)

the same block, then there is a cut-vertex of Gthat is an internal vertex of any spanning tree ofU contradicting Lemma 2.

I Lemma 3. Let G be a connected graph. For positive integers s and k, G has a set of terminalsU of size at leastksuch that there arescompletely independent spanning trees of U in Gif and only if there is a blockH of Gwith the same property.

3.2 Independent trees and pathwidth

In this section we show that if a 2-connected graph G has pathwidth at least k, then G has a set of terminals U of size at least k such that there are two completely independent spanning trees ofU. We need some additional notations. LetGbe a graph. ForZV(G), att(Z) is the set of allvZ with a neighbor inV(G)\Z, andα(Z) =|att(Z)|.

I Theorem 4. Let G be a 2-connected graph with n vertices and m edges. Let also k be a positive integer. If pw(G)k, thenG has a minor H with the property that there is a vertexwV(H)such thatdH(w)≥kandHwis a tree. Moreover, there is an algorithm that in time O(nm)either produces a witness structure of such a minorH, or constructs a path decomposition ofGof width at mostk−1.

Proof. Suppose that Z is a non-empty proper subset of V(G) that satisfies the following conditions:

(i) 1≤α(Z)k,

(ii) there are vertex disjoint connected subgraph C0, . . . , Ct of G[Z] where t =α(Z)−1 such that

for eachi∈ {0, . . . , t},V(Ci)∩att(Z)6=∅,

G has an edge with one end-vertex in C0 and another in Ci for all i ∈ {1, . . . , t}, and

V(C1)∪. . .V(Ct) are in the same component ofGV(C0).

(iii) G[Z] has a path decomposition (X1, . . . , Xr) of width at mostk−1 such thatatt(Z)⊆ Xr.

Notice thatatt(Z)V(C0)∪. . .V(Ct) and each Cihas the unique vertex inatt(Z).

We prove the following claim.

IClaim A. Either α(Z) =k andGhas a minorH with the property that there is a vertex wV(H)such thatdH(w)≥kandHwis a tree, or|V(G)\Z|= 1andpw(G)k−1, or there is Z0 such that ZZ0V(G)andZ0 satisfies (i)–(iii).

Proof of Claim A. Suppose thatα(Z) = k=t+ 1. Consideruatt(Z)∩V(C0). There is a neighbor v of uin V(G)\Z. LetCt+1 be the subgraph of Gwith the unique vertex v. The graph Gis 2-connected. Then Guis connected, and Ghas a path that joins v with at least one ofC1, . . . , Ctthat avoidsC0. BecauseV(C1)∪. . .V(Ct) are in the same component ofG−V(C0), we have thatV(C1)∪. . .∪V(Ct+1) also are in the same component ofGV(C0). Now we construct the minorH ofGas follows. We contract the edges ofC0

and denote the obtained vertexw. Then we contract the edges of the subgraphsC1, . . . , Ck and denote the obtained vertices byu1, . . . , uk respectively. LetG0 be the obtained graph.

The vertices u1, . . . , uk are in the same component of G0w. Hence, G0w has a tree T that containsu1, . . . , uk. We remove the vertices ofV(G0)\(V(T)∪ {w}). Finally, we remove all the edges of the obtained graph except the edges ofT and the edges that joinw andT. Becauseu1, . . . , ukV(T) are adjacent tow, we have a required minor.

(6)

Let now α(Z) < k and let |V(G)\Z| = 1. By (iii), G[Z] has a path decomposition (X1, . . . , Xr) of width at mostk−1 such thatatt(Z)⊆Xr. LetXr+1=att(Z)∪(V(G)\Z).

It is straightforward to see that (X1, . . . , Xr+1) is a path decomposition of Gof width at mostk−1.

From now we assume that α(Z) < k and |V(G)\Z| > 1. We show that the set Z can be extended by one vertex in such a way that the obtained set satisfies (i)–(iii). Let uatt(Z)∩V(C0) and letvbe an arbitrary neighbor ofuinV(G)\Z. We setZ0=Z∪ {v}

and letXr+1=att(Z)∪ {v}.

BecauseV(G)\Z06=∅ and Gis connected, α(Z0)≥1. Clearly, α(Z0)≤α(Z) + 1k.

Hence, (i) holds.

It is straightforward to verify that (X1, . . . , Xr+1) is a path decomposition ofG[Z0] and att(Z0)⊆att(Z)∪ {v} ⊆Xr+1. The width of this decomposition is max{w, t+ 1} where wis the width of (X1, . . . , Xr). Recall thatwk−1 andt+ 1 =α(Z)< k. It means that (iii) is fulfilled.

It remains to show (ii). LetCt+1be the subgraph ofGwith the unique vertexv. Clearly, att(Z0)⊆V(C0)∪. . .V(Ct+1) andGhas an edge with one end-vertex inC0and another inCi for alli∈ {1, . . . , t+ 1}. SinceGis 2-connected,Guis connected, andGhas a path that joinsv with at least one of C1, . . . , Ct that avoids C0. Because V(C1)∪. . .V(Ct) are in the same component of GV(C0), we have that V(C1)∪. . .V(Ct+1) also are in the same component of GV(C0). Notice that it can happen that not all Ci have vertices inatt(Z0). Let{C10, . . . , Ct00} ={Ci|V(Ci)∩att(Z0)6=∅,1≤it+ 1}. Because V(C1)∪. . .V(Ct+1) are in the same component of GV(C0), V(C10)∪. . .V(Ct00) are in the same component of GV(C0) too. Observe that since |V(Ci)∩att(Z)| = 1 for i∈ {0,1, . . . , t}, we have |V(Ci0)∩att(Z0)| = 1 for i ∈ {1, . . . , t0}, |V(C0)∩att(Z0)| ≤ 1, andatt(Z0)⊆V(C0)∪V(C10). . .V(Ct00). We consider two cases.

Case 1. The vertex u has at least two neighbors in V(G)\Z. Then C0 has the unique vertexuin att(Z0), and we have thatα(Z0) =t0+ 1 and (ii) holds for C0, C10, . . . , Ct00.

Case 2. The vertexv is the unique neighbor ofuin V(G)\Z. Observe that since Gis 2- connected,t0≥2 in this case. Consider the graphG0 obtained fromGby contracting edges ofC10, . . . , Ct00 and denote byx1, . . . , xt0 the vertices obtained from these graphs respectively.

We have thatx1, . . . , xt0 are in the same component ofG0−V(C0). We construct a spanning treeT for{x1, . . . , xt0}in G0V(C0). Becauset0 ≥2,T has at least two leaves. Without loss of generality we assume that x1 is a leaf of T. Then x2, . . . , xt0 and, consequently, V(C20), . . . , V(Ct00) are in the same component ofG0−(V(C0)∪{x1}) andG−(V(C0)∪V(C10)) respectively. We constructC00 by takingC0C10 and adding an edge that joinsC0andC10. Thenatt(Z0)⊆V(C00)∪V(C20). . .V(Ct00) and Ghas an edge with one end-vertex inC00 and another inCi0for alli∈ {2, . . . , t0}. AlsoV(C20)∪. . .∪V(Ct00) are in the same component ofGV(C00). BecauseV(C10)∩att(Z0)6=∅, |V(C00)∩att(Z0)|= 1. Thenα(Z0) =t0 and

(ii) is fulfilled forC00, C20, . . . , Ct00. J

Observe that a non-empty proper subsetZ ofV(G) that satisfies (i)–(iii) always exists, because for any vertexzV(G),Z ={z} satisfies (i)–(iii). Suppose thatpw(G)k, and letZV(G) be an inclusion-maximal non-empty proper subset of V(G) that satisfies (i)–

(iii). Then by Claim A,Ghas a minorH with the property that there is a vertexwV(H) such thatdH(w)≥k andHwis a tree.

To complete the proof, it remains to observe that the proof of Claim A can be transformed to an algorithm that either constructsH, or produces a tree decomposition ofGof width at

(7)

mostk−1, or increasesZ by adding one vertex. In the last case the algorithm also modifies the subgraphsC0, . . . , Ctand adds a new bag to the path decomposition. Initially we choose an arbitrary vertex z and set Z ={z},t = 0 and C0 has the unique vertex z. Since each iteration can be done in timeO(m) and we have at mostniterations, we conclude that the

algorithm runs in timeO(nm). J

This combinatorial result is tight in the following sense. IfG=Kk, thenpw(G) =k−1, andGhas a minorH with the property that there is a vertexwV(H) such thatdH(w)≥k andH−wis a tree. But clearlyGhas no minors with a vertex of degree at leastk. Theorem 4 gives us the following corollary.

ICorollary 5. Let Gbe a 2-connected graph with n vertices and m edges. Let alsok be a positive integer. Ifpw(G)k, thenGhas a set of terminalsU of size at leastk such that there are 2 completely independent spanning trees of U. Moreover, there is an algorithm that in time O(nm) either producesU and completely independent spanning trees T1, T2 of U, or constructs a path decomposition ofGof width at mostk−1.

We conclude this section by the observation that the bounds obtained in Corollary 5 is almost tight. IfG=Kk withk≥4, we havepw(G) =k−1, and there are two completely independent spanning trees of V(G) where |V(G)| = k+ 1 and the number of terminals cannot be increased.

3.3 Proof of Theorem 1

In this section we give a proof of Theorem 1 by combining Lemma 3 and Corollary 5.

However, we also need the following lemma which gives an algorithm forIndependently 2-Connectedk-Seton graphs of bounded treewidth.

ILemma 6. Let Gbe ann-vertex graph given together with its tree decomposition of width tw. Then Independently 2-Connected k-Seton Gcan be solved in time2O(tw)nO(1). A naive algorithm for Independently 2-Connected k-Set would run in time

twO(tw)nO(1). To obtain the desired running time, we use the idea of representative families

introduced in [4] in our dynamic programming algorithm. By Lemma 2, we know that for Independently 2-Connectedk-Setwe need to find two edge disjoint trees (F1, F2) sat- isfying certain properties. Thus, if we take the intersection of the solution to some subgraph of the input graph we get two forests (F10, F20). Let G be the input graph and H be an induced subgraph ofGsuch that |∂(H)| ≤t where∂(H) =N(V(G)\V(H)). We call H, a t-boundaried graph. At every node of the tree decomposition one can associate a t+ 1 boundaried graph H of G. For H, we keep a family of partial solutions P that satisfies a following property. Given a solution (L1, L2) toIndependently 2-Connected k-Set, there is a partial solution (Q1, Q2)∈Psuch that (Q1Lr1, Q2Lr2) is also a solution. Here, Lr1 = L1\E(H) and Lr2 = L2\E(H). We use the ideas of matroids and representative families in order to bound the size of P. One views each of the partial solution, (Q1, Q2), as a pair of forests in a graphic matroid of a clique on the vertex set ∂(H). Thus these forests correspond to a pair of independent sets in graphic matroid. Furthermore, for every solution (L1, L2) to Independently 2-Connected k-Set, we view (Lr1, Lr2) as another pair of independent sets in graphic matroid of a clique on the vertex set ∂(H). Now one observes that (Q1Lr1, Q2Lr2) forms a pair of spanning tree of some induced subgraph of the clique. Once we have identified partial solutions as pairs of independent sets in a matroid one can show that the size of P is upper bounded by 2O(t). We finally give the proof of our main result.

(8)

Proof of Theorem 1. Let (G, k) be an input to Independently 2-Connected k-Set. Also assume thatGhasnvertices and medges. We first compute all the blocks of G, say B1, . . . , B`, inO(m+n) time. Now, by Lemma 3 we know thatGis ayes-instance if and only if there exists ani∈ {1, . . . , `}such that (Bi, k) is ayes-instance. Now on eachBi, we first apply Corollary 5 and inO(nm) time either produce a terminal setU and completely independent spanning treesT1, T2 of U, or construct a path decomposition ofBi of width at mostk−1. In the former case we returnU and completely independent spanning trees T1, T2 ofU. In the later case we apply Lemma 6 and check whether (G, k) is ayes-instance toIndependently 2-Connected k-Set. This completes the proof. J

4 Lower Bound on Kernelization

We proved that Independently 2-Connected k-Set is FPT. Hence, it is natural to ask whether this problem has a polynomial kernel. A parameterized problem Π is said to admit a kernel of size f: N→ N if every instance (x, k) can be reduced in polynomial time to an equivalent instance with both size and parameter value bounded byf(k). When f(k) =kO(1) then we say that Πadmits a polynomialkernel. The study of kernelization has recently been one of the main areas of research in parameterized complexity, yielding many important new contributions to the theory. The development of a framework for ruling out polynomial kernels under certain complexity-theoretic assumptions [1, 2, 5] has added a new dimension to the field and strengthened its connections to classical complexity.

Using the results by Bodlaender et al. [1], we show that it is unlikely even if we restrict ourself to 2-connected graph. We first give a few definitions required for our proof. A composition algorithm for a parameterized problem Π is an algorithm that receives as an input a sequence of instances (I1, k), . . . ,(It, k) of Π where each Ii is an input and k is a parameter, and in time polynomial in Pt

i=1|Ii|+k produces an instance (I0, k0) of Π such that i) (I0, k0) is a YES-instance of Π if and only if (Ii, k) is a YES-instance for some i∈ {1, . . . , t}, and ii)k0 is polynomial ink. If Π has a composition algorithm, then it is said that Π iscompositional. Bodlaender et al. [1] proved the following theorem.

ITheorem 7 ([1]). If Π is a compositional parameterized problem such that the unpara- meterized version of Π is NP-complete, then Π has no polynomial kernel unless NP ⊆ coNP/poly.

It is easy to see thatIndependently2-Connectedk-Setis compositional for general (or connected) graphs. But by Lemma 3, it is sufficient to consider the problem for 2- connected graphs. Hence, we prove the following theorem.

ITheorem 8. Independently 2-Connected k-Set has no polynomial kernel even for 2-connected graphs unlessNP⊆coNP/poly.

Proof. As the unparameterized version of Independently 2-Connected k-Set is NP- complete for 2-connected graphs by the results of Hasunuma in [8], it is sufficient to show thatIndependently 2-Connected k-Setis compositional for 2-connected graphs.

Let (G1, k), . . . ,(Gt, k) be a sequence of instances of Independently 2-Connected k-Set where G1, . . . , Gt are 2-connected, and we assume without loss of generality that k≥3. Let alsoni =|V(Gi)| ≥3 fori∈ {1, . . . , t}, and denote byv1i, . . . , vin

i the vertices of Gi fori∈ {1, . . . , t}. We constructG0 as follows (see Fig. 1).

For each h ∈ {1, . . . , t} and for each ordered pair (i, j) of distinct i, j ∈ {1, . . . , nh}, construct a copy G(i,j)h of Gh; denote by x(i,j)h and yh(i,j) the vertices vhi and vjh of the copyG(i,j)h ofGhrespectively.

(9)

y1(1,3)

G(1,2)1 G(1,3)1 G(n11,n1−1) G(1,2)2 G(nt t,nt−1)

x(1,2)1 y(1,2)1 x(1,3)1 x(nt t,nt−1) y(nt t,nt−1)

Figure 1The construction ofG0.

For each h∈ {1, . . . , t}, construct edges y(i,j)h x(r,s)h for distinct ordered pairs (i, j),(r, s) such that either i=rands=j+ 1 orr=i+ 1 andj=nh, s= 1.

For each h∈ {1, . . . , t}, construct edges y(nhh,nh−1)x(1,2)h+1; we assume here that x(1,2)t+1 = x(1,2)1 .

We let k0 = 2k. Notice that for all x(i,j)h and y(i,j)h , G0 has the unique edges that join these vertices with the vertices outsideG(i,j)h . We call these edges by x(i,j)h andy(i,j)h -edges respectively. Observe also that for allh, h0 and (i, j),(r, s), the graphG0has a (y(i,j)h , x(r,s)h0 )- path that containsyh(i,j)andx(r,s)h0 -edges.

It is straightforward to see that G0 is 2-connected. We show that (G0, k0) is a YES- instance of Independently2-Connectedk0-Setif and only if (Gh, k) is a YES-instance for someh∈ {1, . . . , t}.

Suppose that there ish∈ {1, . . . , t}such thatGhhas a set of terminalsU of size at least ksuch that there are two completely independent spanning treesF, T ofU. Becausek≥3, F andT have internal vertices. We choose such vertices denoted byviharevhj respectively.

By Lemma 2,i6=j. Denote byFh(i,j), Th(i,j)andFh(j,i), Th(j,i)the copies ofF, T inG(i,j)h and G(j,i)h respectively. LetP be a (yh(i,j), x(j,i)h )-path in G0 that containsy(i,j)h andx(j,i)h -edges, and let Qbe a (yh(j,i), x(i,j)h )-path inG0 that containsyh(j,i) and x(i,j)h -edges. Let T0 be the tree obtained by taking the union ofTh(i,j), Th(j,i)andP, and letF0 be the tree obtained by taking the union of Fh(i,j), Fh(j,i) and Q. It remains to observe that F0, T0 are completely independent spanning trees of U0 where U0 is the union of the copies of U in G(i,j)h and G(j,i)h . Since|U0|= 2|U| ≥2k, we have thatGa set of terminals U0 of size at leastk0 such that there are two completely independent spanning treesF0, T0 ofU0.

Suppose now that G a set of terminals U0 of size at least k0 such that there are two completely independent spanning treesF0, T0 ofU0.

We claim that there are at most two G(i,j)h that contain vertices of U0. To obtain a contradiction, assume that three distinctG(ih1,j1)

1 , G(ih2,j2)

2 , G(ih3,j3)

3 have vertices ofU0. Then by the construction ofG0, there iss∈ {1,2,3}such thatF0contains thex(ihs,js)

s andy(ihs,js)

s -

edges. BecauseF0, T0are edge disjoint by Lemma 2,T0cannot contain any vertex ofG(ihs,js)

s ;

a contradiction. We consider two cases.

Case 1. The setU0contains vertices of the uniqueG(i,j)h . IfF0, T0do not include thex(i,j)h andy(i,j)h -edges, then F0, T0 are subtrees of G(i,j)h . By taking the copies ofF0, T0 in Gh, we have thatGhhas a set of terminals of size at leastk0> ksuch that there are two completely independent spanning trees of the set. Suppose that one of the trees, sayF0, contains at least one of thex(i,j)h andy(i,j)h -edges. BecauseF0 is a minimal spanning tree ofU0, F0 contains both the x(i,j)h , yh(i,j)-edges. Then F0 has the unique (yh(i,j), x(i,j)h )-pathP with these edges, and the internal vertices of P have degree two in F0. Then the forest obtained from F0 by the deletion of the edges and the inner vertices of P has two components F1 and F2. BecauseV(F0)∩U = (V(F1)∩U)∪(V(F2)∩U) andU1= (V(F1)∩U), U2= (V(F2)∩U)

(10)

are disjoint, we can assume without loss of generality that|U1| ≥ k. Let F be the unique minimal spanning subtree ofU1 inF1. BecauseF0 contains the x(i,j)h andy(i,j)h -edges,T0 is a subgraph ofG(i,j)h by Lemma 2. LetT be be the unique minimal spanning subtree ofU1

inT0. We have thatG(i,j)h has the set of terminalsU1 of size at leastksuch that there are two completely independent spanning treesF, T of U1. By taking the copies ofF, T inGh, we obtain thatGhhas a set of terminals of size at leastksuch that there are two completely independent spanning trees of the set.

Case 2. The setU0 contains vertices of two distinctG(i,j)h , G(r,s)h0 . LetU1=V(G(i,j)h )∩U0 andU2=V(G(r,s)h0 )∩U0. BecauseU1, U2is a partition ofU0, we can assume without loss of generality that|U1| ≥k. Notice that F0, T0 contain thex(i,j)h , yh(i,j), x(r,s)h0 , yh(r,s)0 -edges, and thex(i,j)h , y(r,s)h0 -edges (theyh(i,j), x(r,s)h0 -edges respectively) are in the same tree. We assume that F0 contains the x(i,j)h , yh(r,s)0 -edges and T0 has the y(i,j)h , x(r,s)h0 -edges. Then F0 has the unique (x(i,j)h , yh(r,s)0 )-pathQand andT0has the unique (y(i,j)h , x(r,s)h0 )-pathR, and the internal vertices of Qand R have degree two in F0 and T0 respectively. Then the forest obtained fromF0by the deletion of the edges and the inner vertices ofQhas exactly two components F1, F2, and it can be assumed thatF1is a subgraph ofG(i,j)h andF2is a subgraph ofG(r,s)h0 . Notice thatU1V(F1), and letF be the unique spanning tree of U1 in F1. By the same arguments, the forest obtained fromT0by the deletion of the edges and the inner vertices of Rhas exactly two componentsT1, T2, and it can be assumed thatT1 is a subgraph ofG(i,j)h andT2 is a subgraph of G(r,s)h0 . Again,U1V(F1), and we consider the unique spanning treeT of U1 in T1. We have that G(i,j)h has the set of terminalsU1 of size at least k such that there are two completely independent spanning treesF, T ofU1. By taking the copies ofF, T inGh, we obtain thatGh has a set of terminals of size at leastksuch that there are two completely independent spanning trees of the set.

In the both cases we have that there ish∈ {1, . . . , t}such that (Gh, k) is a YES-instance of Independently 2-Connected k-Set, and it competes the proof. J

5 FPT algorithm for Independently s-Connected k-Set and a generalization

In this section we design an algorithm forIndependently s-Connected k-Set. In fact, what we show is that this problem is is FPT when parameterized byk+s. We show that this problem can be reduced to checking existence of the bounded number of topological minors of bounded size. As the checking of existence of topological minors can be done in FPT-time by the recent results of Grohe et al. [6], we obtain the following theorem.

ITheorem 9. Independentlys-Connectedk-SetisFPTwhen parameterized bys+k.

Proof. If k = 1 or s = 1, then Independently s-Connected k-Set is trivial. If k = 2, then the problem can be solved in polynomial time by checking the existence of two vertices that can be joined by at leastsinternally vertex disjoint paths. Also ifs= 2, then Independently s-Connected k-Set is FPT when parameterized by k by Theorem 1.

Hence, we can assume thats, k≥3.

We prove the following two claims.

IClaim B. If H is a topological minor of G such that(H, s, k) is a YES-instance of In- dependentlys-Connected k-Set, then(G, s, k)is a YES-instance of Independently s-Connectedk-Set.

(11)

Proof of Claim B. Suppose that (H, s, k) is a YES-instance of Independently s- Connected k-Set for a topological minor H of G. Then there is a set of terminals UV(H) of size at leastkand there arescompletely independent spanning treesT1, . . . , Ts ofU in H. SinceH is a topological minor ofG,Ghas a subgraphH0 such that H0 can be obtained from H by a sequence of edge subdivisions. Let T10, . . . , Ts0 be the trees obtained from T1, . . . , Ts by applying these edge subdivisions to the edges of these trees. Denote by U0 the set of vertices ofGthat correspond to the vertices ofU inH0. It remains to observe that T10, . . . , Ts0 are completely independent spanning trees of U0 in G by Lemma 2, i. e., (G, s, k) is a YES-instance of Independentlys-Connected k-Set. J IClaim C. If (G, s, k)is a YES-instance of Independently s-Connectedk-Set, then G has a topological minor H with at most sk+k−2s vertices such that (H, s, k) is a YES-instance of Independently s-Connectedk-Set.

Proof of Claim C. Suppose that (G, s, k) is a YES-instance of Independently s- Connected k-Set. Then there is a set of terminals UV(G) of size exactly k and there are scompletely independent spanning trees T1, . . . , Ts ofU in G. LetH be a sub- graph ofGthat is the union ofT1, . . . , Ts. Denote byH0 the graph obtained fromH by the recursive dissolutions of degree two vertices that have non-adjacent neighbors. Clearly,H0is a topological minor ofG. Notice that becauses≥3, the vertices ofU are not dissolved, and we can dissolve only internal vertices ofT1, . . . , Ts. LetT10, . . . , Ts0be the trees obtained from T1, . . . , Ts respectively by these dissolutions. Then T10, . . . , Ts0 are completely independent spanning trees ofU inH0 by Lemma 2, i. e., (H0, s, k) is a YES-instance ofIndependently s-Connected k-Set.

To obtain the bound on the number of vertices of H0, we show that for each Ti, all non-terminal internal vertices of degree two ofTi are dissolved. To obtain a contradiction, assume that at some step, we could not dissolve a vertexuof degree two. It can happen only ifuhas the neighborsxandy that are adjacent. BecauseTi is a tree and the terminals are not dissolved,xandyare joined in some other treeTj, i. e.,x, yV(Ti)∩V(Tj). Moreover, x and y are joined in Ti, Tj by the unique (x, y)-paths Pi, Pj respectively such that the internal vertices of Pi, Pj have degree two in Ti, Tj respectively. By Lemma 2, x, yU. Becausek≥3, each ofx, yis an internal vertex of one of the treesT1, . . . , Ts by Lemma 2.

Sinces≥3, eitherxory is an internal vertex of at least two trees; a contradiction.

Thus, each Ti0 has no non-terminal vertices of degree one or two. Therefore, because

|U|=k,Ti0has at mostk−2 internal vertices. Then the total number of internal vertices of T10, . . . , Ts0is at mosts(k−2), and the total number of vertices ofH0is at mosts(k−2)+k. J Now we can solve Independently s-Connected k-Set as follows. We consider all 2O(s2k2)graphsH with at mostsk+k−2svertices. For eachH, we solveIndependently s-Connected k-Set using, e. g., brute force. If we obtain a yes-answer, then we check whether H is a topological minor of G by the algorithm of Grohe et al. [6]. If H is a topological minor ofG, then (G, s, k) is ayes-instance of Independently s-Connected k-Setby Claim B. If we have ano-answer for allH, thenIndependentlys-Connected

k-Setfor (G, s, k) has ano-answer by Claim C. J

A similar result can be obtained for the variant of the problem where a set of terminals is fixed. Formally, Independent Trees for a Set of Terminals ask for a graph G, positive integersand a setU, whether there arescompletely independent spanning trees of U inG. Using the same arguments as in the proof of Theorem 9, we can show the following.

(12)

ITheorem 10. Independent Trees for a Set of Terminals isFPTwhen paramet- erized bys+|U|.

6 Conclusions

In this paper we initiated parameterized complexity of a natural connectivity problem and designed several FPT algorithms for it. We conclude with several open questions.

Is it possible to solve Independently s-Connected k-Set in time 2O(k)nO(1) for a fixeds≥3?

What can be said about the approximability of Independentlys-Connectedk-Set? Is there a constant factor approximation algorithm for the problem fors= 2?

We have shown that Independent Trees for a Set of Terminals is FPT when parameterized by s+|U|. Is it possible to obtain a more efficient algorithm for this problem? In particular, is it possible to solve the problem in single-exponential in |U| fors= 2?

References

1 Hans L. Bodlaender, Rodney G. Downey, Michael R. Fellows, and Danny Hermelin. On problems without polynomial kernels. J. Comput. Syst. Sci., 75(8):423–434, 2009.

2 Holger Dell and Dieter van Melkebeek. Satisfiability allows no nontrivial sparsification unless the polynomial-time hierarchy collapses. In Leonard J. Schulman, editor,Proc. of the 42nd ACM Symp. on Theory of Computing, STOC 2010, Cambridge, Massachusetts, USA, 5–8 June 2010, pages 251–260. ACM, 2010.

3 Danny Dolev, Joseph Y. Halpern, Barbara Simons, and H. Raymond Strong. A new look at fault-tolerant network routing. Inf. Comput., 72(3):180–196, 1987.

4 Fedor V. Fomin, Daniel Lokshtanov, and Saket Saurabh. Efficient computation of repres- entative sets with applications in parameterized and exact algorithms. In Chandra Chekuri, editor,Proc. of the 25th Annual ACM-SIAM Symp. on Discrete Algorithms, SODA 2014, Portland, Oregon, USA, January 5–7, 2014, pages 142–151. SIAM, 2014.

5 Lance Fortnow and Rahul Santhanam. Infeasibility of instance compression and succinct pcps for NP. In Cynthia Dwork, editor,Proc. of the 40th Annual ACM Symp. on Theory of Computing, Victoria, BC, Canada, May 17–20, 2008, pages 133–142. ACM, 2008.

6 Martin Grohe, Ken-ichi Kawarabayashi, Dániel Marx, and Paul Wollan. Finding topological subgraphs is fixed-parameter tractable. In Lance Fortnow and Salil P. Vadhan, editors, Proc. of the 43rd ACM Symp. on Theory of Computing, STOC 2011, San Jose, CA, USA, 6–8 June 2011, pages 479–488. ACM, 2011.

7 Toru Hasunuma. Completely independent spanning trees in the underlying graph of a line digraph. Discrete Mathematics, 234(1-3):149–157, 2001.

8 Toru Hasunuma. Completely independent spanning trees in maximal planar graphs. In Ludek Kucera, editor,Graph-Theoretic Concepts in Computer Science, 28th International Workshop, WG 2002, Cesky Krumlov, Czech Republic, June 13–15, 2002, Revised Papers, volume 2573 ofLecture Notes in Computer Science, pages 235–245. Springer, 2002.

9 Toru Hasunuma and Chie Morisaka. Completely independent spanning trees in torus net- works. Networks, 60(1):59–69, 2012.

10 Russell Impagliazzo, Ramamohan Paturi, and Francis Zane. Which problems have strongly exponential complexity? J. Comput. Syst. Sci., 63(4):512–530, 2001.

11 Alon Itai and Michael Rodeh. The multi-tree approach to reliability in distributed networks.

Inf. Comput., 79(1):43–59, 1988.

12 Ferenc Péterfalvi. Two counterexamples on completely independent spanning trees.Discrete Math., 312(4):808–810, 2012.

Referanser

RELATERTE DOKUMENTER

For a first-order logic formula ϕ, we consider the problem of deciding whether an input graph can be modified by removing/adding at most k vertices/edges such that the

As we discussed in 2.4.3, you can obtain any compact (smooth) connected 2-manifold by punching g holes in the sphere S 2 and glue onto this either g handles or g Möbius bands..

Given an embedded graph G on P , as well as k pairs of vertices (called terminals), a solution to this problem is a set of paths that connect their respective pairs of terminals,

Therefore, it is completely independent of the server program: this information is not updated for all clients (as occurs with changes effected in the virtual world), but only

Criticalities in scalar field data are used by visualisation methods such as the Reeb graph and contour trees to present topological structure in simple graph based formats..

As we discussed in 2.4.3, you can obtain any compact (smooth) connected 2-manifold by punching g holes in the sphere S 2 and glue onto this either g handles or g Möbius bandsB.

We found no indication that participation in PSNP leads households to disinvest in livestock or trees; in fact, the number of trees increased for households that participated in the

Among the optimal Steiner trees of K with the minimum number of bend vertices, we select a tree T opt that has maximum edge intersection with E( T ).. From Lemma 3.3, it follows