Parameterized Critical Node Cut Revisited
Abstract
We study how to sparsify connectivity in graphs under a tight deletion budget. Given a graph and integers , Critical Node Cut (CNC) asks whether we can delete at most vertices so that the number of remaining unordered pairs of connected vertices is at most . CNC generalizes Vertex Cover (the case ) and models tasks in network design, epidemiology, and social network analysis. We comprehensively map the structural parameterized complexity landscape for Critical Node Cut. First, we prove W[1]-hardness for the combined parameter , where is the feedback edge set number, the maximum degree, and the pathwidth of the input graph, respectively. This significantly improves over the known W[1]-hardness for , where denotes the treewidth, and is tight in that tree-depth together with maximum degree trivially yields FPT. Second, we give new positive results. Specifically, we identify three structural parameters–max-leaf number, vertex integrity, and modular-width–that render the problem fixed-parameter tractable, and develop a polynomial-time algorithm for graphs of constant clique-width. Third, leveraging a technique introduced by Lampis [ICALP ’14], we develop an FPT approximation scheme that, for any , computes a -approximate solution in time . Finally, we show that CNC admits no polynomial kernel when parameterized by vertex cover number, unless standard assumptions fail. Together, these results substantially sharpen the known complexity landscape for CNC.
Keywords and phrases:
Critical Node Cut, Parameterized Complexity, TreewidthFunding:
Dušan Knop: Supported by the European Union under the project Robotics and advanced industrial production (reg. no. CZ.02.01.01/00/22_008/0004590).Copyright and License:
2012 ACM Subject Classification:
Theory of computation Parameterized complexity and exact algorithmsEditor:
Pierre FraigniaudSeries and Publisher:
Leibniz International Proceedings in Informatics, Schloss Dagstuhl – Leibniz-Zentrum für Informatik
1 Introduction
Let be a simple, undirected, and unweighted graph, and let and be two non-negative integers. The Critical Node Cut problem (CNC for short) asks whether we can delete at most vertices from so that the remaining graph contains at most connected vertex pairs. This problem arises in various applications, such as budgeted immunization for contagion control, analyzing brain connectivity, and uncovering structures in social graphs (see [4, 13] and references therein).
Importantly, CNC generalizes the well-known Vertex Cover problem, which corresponds to the special case . Given its NP-hardness, we study CNC through the lens of parameterized complexity.111We assume familiarity with the basics of parameterized complexity, as given e.g. in [7]. Previous work has shown that the problem is fixed-parameter tractable (FPT) when parameterized by the vertex cover number of the input graph [22], but W[1]-hard when parameterized by the natural parameter or by the treewidth [13].222More strongly, the reduction in [13] implies W[1]-hardness with respect to tree-depth. As a matter of fact, Agrawal, Lokshtanov, and Mouawad have shown that this hardness persists even when parameterizing by the combined parameter [3].
Our Contribution.
Our first result, which constitutes our main technical contribution, is to significantly improve over the aforementioned hardness result of Agrawal, Lokshtanov, and Mouawad [3]. In particular, in Theorem 2 we prove that CNC remains W[1]-hard even when parameterized by the combined parameter , where , , and denote the feedback edge set number, the maximum degree, and the pathwidth of the input graph, respectively. Notice that this also implies that the problem is W[1]-hard when parameterized by , where denotes the cutwidth of the input graph, as for any graph it holds that . In fact, this intractability result is tight in the sense that tree-depth together with maximum degree trivially yields FPT, since this parameterization bounds the graph size.333A graph of tree-depth and maximum degree has at most vertices. To obtain our result, we adapt a recent reduction for the related Vertex Integrity problem by Hanaka, Lampis, Vasilakis, and Yoshiwatari [12].
Moving on, we obtain several results concerning the tractability of the problem under different structural parameterizations. We identify three structural parameters that render CNC fixed-parameter tractable, thereby contrasting the hardness result above: max-leaf number (Theorem 8), vertex integrity (Theorem 9), and modular-width (Theorem 10). Our techniques towards obtaining those results include reductions to acyclic instances [12], -fold Integer Programming [17], and dynamic programming on suitable decompositions. We also consider the parameterization by clique-width , for which the problem is known to be W[1]-hard, and obtain an algorithm with running time (Theorem 11), thus placing it in XP.
We then revisit the parameterization by treewidth and identify the bottleneck in standard dynamic programming as the need to track large numerical values. To address this, we apply a rounding technique introduced by Lampis [20], obtaining an FPT approximation scheme. Specifically, in Theorem 15 we give an algorithm that, for any , computes in time a deletion set of size at most such that the number of connected pairs in the resulting graph is at most times the minimum possible.
Finally, we investigate the compressibility of CNC. We prove that, unless standard complexity assumptions fail, the problem does not admit a polynomial kernel when parameterized by the vertex cover number of the input graph (Theorem 16). This negative result highlights that even very restrictive structural parameterizations do not yield efficient preprocessing algorithms (under standard assumptions).
Related Work.
CNC is a well-studied problem; see [18, Section 5.2] and the references therein. Approximation algorithms have been proposed [24], while Hermelin, Kaspi, Komusiewicz, and Navon [13] initiated the problem’s study under parameterized complexity, presenting a plethora of both positive and negative results with respect to natural and structural parameterizations. Among others, they prove a (tight) lower bound under the ETH, W[1]-hardness by tree-depth, and that the problem is FPT parameterized by . Polynomial-time algorithms are known for trees [23],444That is the case even for weighted variants of the problem. and more generally, the problem admits a DP algorithm of running time [2]. As previously mentioned, CNC is known to be W[1]-hard parameterized by [3]. On the other hand, it admits FPT algorithms with single-exponential parametric dependence when parameterized by vertex cover number [22] or neighborhood diversity [21].
2 Preliminaries
Throughout the paper we use standard graph notations [8] and assume familiarity with the basic notions of parameterized complexity [7]. Proofs of statements marked with are presented in the full version of the paper.
We use to denote the set of non-negative integers. For , let , while . For a set of integers let denote the set of subsets of of size , i.e., . For a (multi)set of positive integers , let denote the sum of its elements.
All graphs considered are undirected without loops. Given a graph , denotes the set of its connected components, while denotes the number of pairs of connected vertices in , that is, . For a vertex , we denote the neighborhood of in by . For a subset of vertices , denotes the subgraph induced by , while denotes .
For the basics on tree decompositions we refer to [7, Section 7]. We define the height of a node of a tree decomposition as the distance from the root of the tree decomposition to said node. In that case, the height of a tree decomposition is defined as the maximum distance from the root to any of its nodes.
A graph of clique-width can be constructed through a sequence of the following operations on vertices that are labeled with at most different labels. We can use (1) introducing a single vertex of an arbitrary label , denoted , (2) disjoint union of two labeled graphs, denoted , (3) introducing edges between all pairs of vertices of two distinct labels and in a labeled graph , denoted , and (4) changing the label of all vertices of a given label in a labeled graph to a different label , denoted . An expression describes a graph if is the final graph given by the expression (after we remove all the labels). The width of an expression is the number of different labels it uses. The clique-width of a graph is the minimum width of an expression describing it [6]. For a labeled graph and , let denote the label of in , while denotes the set of vertices of of label . A clique-width expression is irredundant if whenever the operation is applied on a graph , there is no edge between an -vertex and a -vertex in , and we will use such expressions to simplify our algorithms. We remark that any clique-width expression can be transformed in linear time into an irredundant one of the same width [6].
| Instance: | A graph as well as integers and . |
| Goal: | Determine whether there exists a set with such that in there are at most pairs of connected vertices, that is, whether . |
Lemma 1 ().
Let . Assume we are given functions , where , and define such that for all ,
One can compute the function in time .
3 W[1]-hardness
In this section we prove that Critical Node Cut is W[1]-hard when parameterized by the combined parameter , where , , and denote the feedback edge set number, the maximum degree, and the pathwidth of the input graph, respectively. This significantly improves over the previous result of Agrawal, Lokshtanov, and Mouawad [3] who showed that the problem is W[1]-hard parameterized by plus the treewidth of the input graph. Our reduction follows along the lines of a recent reduction by Hanaka et al. [12] who showed the W[1]-hardness of Semi-Weighted Component Order Connectivity under a similar parameterization. We reduce from the Restricted Unary Bin Packing problem, which we formally define below and which is known to be W[1]-hard parameterized by the number of bins [12].
| Instance: | A multiset of integers in unary, , and a function . |
| Goal: | Determine whether there is a partition of into multisets , such that for all it holds that (i) , and (ii) , . |
We first present a sketch of our reduction. The weight of a vertex refers to the length of a path attached to it; this is later formalized in the construction. Similarly to the construction of Hanaka et al. [12], for every bin of the Restricted Unary Bin Packing problem instance we introduce a clique of heavy vertices, and then connect any pair of such cliques via two paths. The weights are set in such a way that an optimal solution will delete only vertices from the connection paths. In order to construct a path for a pair of bins, we compute the set of all subset sums of the items that can be placed in these two bins, and introduce a vertex of medium weight per such subset sum. This step can be completed in polynomial time, as all items are in unary. Moreover, every such vertex corresponding to subset sum is preceded by exactly vertices of weight . An optimal solution will cut the path so that the number of vertices of weight will be partitioned between the two bins, encoding the subset sum of the elements placed in each bin. The second path that we introduce has balancing purposes, allowing us to exactly count the number of vertices of medium weight that every connected component will end up with. In the end, the intended solution deletes only vertices of medium weight, resulting in components of only two possible sizes.
Theorem 2.
Critical Node Cut is W[1]-hard parameterized by .
Proof.
Let be an instance of Restricted Unary Bin Packing, where denotes the multiset of items given in unary, is the number of bins, and dictates the pair of bins an item may be placed into. In the following let , , , , and . Notice that and . We will reduce to an equivalent instance of Critical Node Cut, where and denote the size of the deletion set and the bound on the number of pairs of connected vertices, respectively.
We proceed to describe the construction of graph . For ease of presentation, when we say that a vertex has weight , it means that we introduce a path on vertices and connect one of its endpoints to .
For every , we introduce a clique on vertex set , which is comprised of vertices, each of weight . Fix and such that , and let denote the multiset of all items of which can be placed either on bin or bin , where . Let denote the set555We stress that is a set and not a multiset. of all subset sums of , and notice that since every element of is encoded in unary, can be computed in polynomial time using, e.g., Bellman’s classical DP algorithm [5]. We next construct two paths connecting the vertices of and . First, we introduce the vertex set , all the vertices of which are of weight . Add edges for all , as well as and , for all and . Next, we introduce the vertex set , with the -vertices being of weight and the -vertices of weight . Then, add the following edges:
-
and , for all and ,
-
for , add the edges if and if , and
-
for , add the edge .
Observe that if , then , , and , thus consists of vertices of weight , while consists only of the single vertex which is connected to the two cliques .
This concludes the construction of . See Figure 1 for an illustration. Notice that the number of vertices of excluding those belonging to the cliques or to a path attached to them is .
Lemma 3 ().
If is a Yes-instance of Restricted Unary Bin Packing, then is a Yes-instance of Critical Node Cut.
Lemma 4.
If is a Yes-instance of Critical Node Cut, then is a Yes-instance of Restricted Unary Bin Packing.
Proof.
Let with such that the number of pairs of connected vertices in is minimized and is at most . Notice that , as otherwise there always exists a vertex whose deletion reduces said number. For all it holds that , thus the vertices of belong to the same connected component of . Our aim is to argue that contains exactly one vertex of medium weight per path between cliques. Towards this goal, we first show the following series of Claims.
Claim 5.
For any with it holds that and .
Proof.
For the sake of contradiction, assume there exist with such that , where . Let denote the rightmost vertex of that belongs to , that is, no vertex of between and the vertices of belongs to . Let denote the connected component of that contains the vertices of . It holds that , since . Let and consider the deletion set , where .
Starting from it holds that not deleting increases the number of connected pairs by , while subsequently deleting decreases the number of pairs by . In that case, . Recall that by the optimality of , , implying that
which, since , leads to a contradiction.
We next argue that every connected component of contains vertices belonging to at most one clique .
Claim 6.
For any connected component of it holds that
Proof.
We first fix some notation used throughout the proof. Let be the partition of such that if and only if there exists a connected component with . Notice that for , such a component is unique. For we further define the set which is composed of the vertices plus the vertices belonging to the paths attached to the former vertices. Let such that for all . Consider a component that maximizes , where . It suffices to prove that . Towards a contradiction assume that .
Let with . We argue that . To see this, notice that the deletion of such a vertex results in at most
disconnected pairs, where we use the fact that the number of vertices of excluding those belonging to the cliques or to a path attached to them is less than . On the other hand, , thus the deletion of a vertex with results in at least
disconnected pairs.
The previous paragraph, along with Claim 5 and the fact that , imply that there exists with such that . Let , where . We argue that . Let (resp., ) denote the number of pairs of connected vertices in (resp., ) such that at least one vertex belongs to (notice that the rest of the pairs remain the same in the two graphs). It holds that
where the first inequality is due to the component of that contains the vertices of . On the other hand, in the vertices of each for are in distinct connected components, thus it holds that
where the first inequality is due to the fact that the number of vertices of apart from those of or attached to them is at most . The last inequality is due to the fact that , which for is upper-bounded by .
Finally, we have that
which holds as by assumption . This contradicts the optimality of set .
By Claim 6 and the fact that it follows that contains exactly one vertex per path between cliques. In that case, since the vertices of those paths are of weight or , regarding the connected components of it holds that there are exactly of size at least , as well as of size exactly , where since half the paths between cliques contain only vertices of weight . Further notice that the number of pairs of connected vertices is minimized when each component of size at least contains vertices,666To see this notice that for all . while for all it holds that
Consequently, the minimum number of pairs of connected vertices is obtained exactly when there are components in of size , and the rest of the vertices are partitioned equally among the remaining components. Notice that
thus since it follows that this is indeed the case for . Consequently, for all , there exists with .
Let denote the connected component of containing the vertices of . Since contains vertices, while , it follows that contains exactly vertices of weight . Let be a partition of defined in the following way: for all , if , then and , where such that . Notice that is equal to the number of vertices of weight in , therefore follows.
Lemma 7.
It holds that , , and .
Proof.
For the feedback edge set number, let contain all edges between vertices of , for all , as well as all edges between such vertices and endpoints of paths and . Notice that
while the graph remaining after the deletion of the edges in is a caterpillar forest. For the pathwidth bound notice that is a caterpillar forest, thus . Lastly, for the maximum degree notice that for all , . As for the vertices of , they are of degree at most , apart from the endpoints which are neighbors with all the vertices of a single clique, therefore of degree . Any remaining vertex is of degree at most . Due to Lemmas 3, 4, and 7, Theorem 2 follows.
4 Algorithms
In this section we identify several structural parameters that render Critical Node Cut fixed-parameter tractable, namely max-leaf number, vertex integrity, and modular-width. Furthermore, we show that the problem parameterized by clique-width belongs to XP.
4.1 Max-Leaf Number
Here we present a single-exponential algorithm for Critical Node Cut parameterized by the max-leaf number of the input graph.777The max-leaf number of a graph is the maximum number of leaves among all its spanning trees. This is a well-studied but very restricted parameter [9, 10, 19]. Note that this nicely complements the W[1]-hardness of the problem parameterized by which follows by Theorem 2; graphs of max-leaf number at most are known to be a subdivision of a graph of at most vertices [16], thus their feedback edge set number and their maximum degree are bounded by a function of . As a matter of fact, the reduction of Theorem 2 produces a graph that, at first glance, appears to have bounded max-leaf number. The value of this parameter increases due to attaching long paths on the weighted vertices, and Theorem 8 implies that this increase is unavoidable, as the problem is FPT under this parameterization.
Our algorithm closely follows the one presented by Hanaka, Lampis, Vasilakis, and Yoshiwatari [12] for Vertex Integrity parameterized by max-leaf number. In particular, our first step is to contract any cycles, reducing the instance to a weighted forest on which some of the vertices are marked as undeletable. Then we apply a simple DP algorithm for trees in order to compute, for every connected component of the instance, the minimum number of pairs of connected vertices remaining after at most vertex deletions from said component, for all . Having computed this for every component, applying Lemma 1 then allows us to determine the number of deletions per component such that the total number of connected pairs is minimized.
Theorem 8 ().
There is an algorithm that given any instance of Critical Node Cut, decides in time , where denotes the max-leaf number of .
4.2 Vertex Integrity
The vertex integrity of a graph , denoted , is the minimum integer such that there is a vertex set with , where denotes the set of connected components of . Here we show that the parameterization by vertex integrity renders Critical Node Cut fixed-parameter tractable. Given the fact that the vertex integrity of a graph is upper-bounded by its vertex cover number, this improves over the known FPT algorithm parameterized by vertex cover number [22]. On the other hand, the vertex integrity of a graph is lower-bounded by its tree-depth, under which parameterization the problem remains W[1]-hard [13], so our result is in that sense tight.
Theorem 9 ().
There is an algorithm that, given any instance of Critical Node Cut, decides in time , where denotes the vertex integrity of .
4.3 Modular-width
All our previous results are concerned with sparse classes of graphs. Here we prove that Critical Node Cut is fixed-parameter tractable parameterized by the modular-width of the input graph, thus improving over the analogous result for neighborhood diversity [21].
Theorem 10 ().
There is an algorithm that, given any instance of Critical Node Cut, decides in time , where denotes the modular-width of .
4.4 Clique-width
Theorem 2 implies that Critical Node Cut is W[1]-hard parameterized by clique-width. Here we show that for this parameterization, the problem belongs to XP. To obtain this result, we proceed by presenting a standard dynamic programming algorithm. On a high level, as we go over the clique-width expression of the input graph, we consider a partition of the connected components of our graph based on the labels appearing in their vertices. For every such partitioning, we keep track of both the total size as well as the total number of connected pairs of vertices for the connected components belonging to the partitioning. As we prove, this amount of information is sufficient in order to solve Critical Node Cut.
Theorem 11.
There is an algorithm that, given a graph along with an irredundant clique-width expression of of width , determines for all the minimum value of over all subsets with , as well as the number of subsets achieving this minimum, in time .
Proof.
Before describing our algorithm we start with some definitions and notations. Let denote the set of all -labeled graphs generated by subexpressions of . Furthermore, let denote the set of all non-empty subsets of . We say that is a signature, where is a tuple consisting of functions . Moreover, let denote the set of all possible signatures, where . We say that the label set of a connected component of a labeled graph is the set of labels appearing in the component’s vertices. For and , let denote the set of connected components of with label set . Lastly, for , we define the function , such that for , the -signature of is the tuple , where for all it holds that
-
is equal to the sum of the sizes of the connected components of ,
-
is equal to the number of pairs of connected vertices belonging to connected components of .
Our algorithm proceeds by dynamic programming along in a bottom-up fashion. In particular, for every it stores a table where, as we show, for and , is equal to the number of subsets of of size and -signature . We now proceed to describe how to populate the DP tables, as well as establish this invariant by induction.
Singleton .
For , notice that and for all . Consequently, for and signature we set
| (1) |
where for all , . By Equation 1 we can fill the table in time . Furthermore, notice that and one can easily verify that the invariant holds.
Disjoint union, .
We define a function such that, for and , where for all it holds that
-
,
-
.
For a fixed size and signature , we set the value of to be
| (2) |
If we set . Notice that computing requires time, thus by Equation 2 we can fill the table in time .
Claim 12.
Let . Assume that for , , and , is equal to the number of subsets of of size and -signature . Then it holds that is equal to the number of subsets of of size and -signature .
Proof.
Observe that and . Thus, for every , it holds that where for . Furthermore, notice that the connected components of are exactly the connected components of and , each with the same label set. Consequently, for every it holds that
-
,
-
,
where is the -signature of , and is the -signature of for . This implies that . The claim follows by Equation 2 and by the fact that there are ways to choose a subset of size with -signature , and ways to choose a subset of size with -signature , for every pair and every pair such that .
Relabeling, .
Observe that a connected component with label set in has label set either , , or in . For each pair of distinct we define a function such that, for , where for all it holds that
-
if , then ,
-
if , then and ,
-
if and , then it holds that
-
–
,
-
–
.
-
–
For a fixed size and signature , we set the value of to be
| (3) |
If we set . Notice that computing requires time, thus by Equation 3 we can fill the table in time .
Claim 13.
Let . Assume that for and , is equal to the number of subsets of of size and -signature . Then it holds that is equal to the number of subsets of of size and -signature .
Proof.
Observe that and . Furthermore, notice that for all , the connected components of are exactly the connected components of , albeit with potentially different label sets. Let such that and . We argue that . Given that each subset has a unique -signature, Equation 3 and the fact that there are ways to choose a subset of size with -signature , this implies the claim.
Let . If , then since , it holds that no connected component of has label set , thus . If , then the connected components of with label set are exactly the connected components of with label set , thus and . Lastly, if and , then the connected components of with label set are exactly the connected components of with label set , , and . Thus, and . It follows that , and this concludes the proof.
Joining labels with edges, .
For each pair of distinct we define a function as follows. Let for , . We consider two cases. First, assume that either or , where for , denotes the label sets containing label . In that case, we set . Otherwise, let and . For all we set the values of and as follows:
-
if , then and ,
-
if and , then ,
-
if , then and .
For a fixed size and signature , we set the value of to be
| (4) |
If we set . Notice that computing requires time, thus by Equation 4 we can fill the table in time .
Claim 14.
Let . Assume that for and , is equal to the number of subsets of of size and -signature . Then it holds that is equal to the number of subsets of of size and -signature .
Proof.
Observe that , each vertex has the same label in both and , and . Let such that and . We argue that . Given that each subset has a unique -signature, Equation 4 and the fact that there are ways to choose a subset of size with -signature , this implies the claim. Let . We will consider multiple cases.
First, assume that either or , where for , denotes the label sets containing label . In that case, it follows that either or . Consequently, no new edges are added in compared to , thus, for all , it holds that and , which implies that .
Alternatively it holds that and . If , then the connected components of with label set are exactly the connected components of with label set , thus and follow. To handle the remaining cases, we let and . Since there are vertices and in with labels and , respectively, it follows that in , all vertices of label and all vertices of label belong to the same connected component. Furthermore, the label set of that connected component is exactly , as it contains all labels of connected components of with label set in . As for its size, it holds that , from which we can infer the number of pairs of connected vertices . For any other label set with and , it holds that as either (i) , or (ii) the connected components of are all connected in and are part of the single connected component of label set in . It follows that , and this concludes the proof. Correctness follows by induction and Claims 12, 13, and 14. As for the running time, notice that for every the table is filled in time . Since , the overall running time of our algorithm is . Finally, notice that for any of size and -signature , it holds that . Consequently, by iterating over all signatures , we can determine the minimum value of over all subsets of size , as well as the number of such subsets achieving this minimum. This concludes the proof.
5 FPT Approximation Scheme
Given the fact that, as evidenced by Theorem 2, Critical Node Cut remains W[1]-hard even under severe structural parameterizations, in this section we aim to bypass this computational hardness by adding approximation into the mix. In particular, we design an efficient FPT-AS for the parameterization by treewidth by modifying the standard DP algorithm [2] and making use of a technique introduced by Lampis [20].
Theorem 15 ().
There is an algorithm which, for all , when given as input a graph of treewidth returns in time a set of size at most such that for all of size , for all .
Proof sketch.
Here we describe the main idea behind our algorithm. On a high level, we aim to develop a DP which, while traversing the tree decomposition, keeps track of the sizes of any active components (those whose vertices intersect the bag), while for the rest of the components (i.e., the inactive ones) there exists a variable on which we account for their number of pairs of connected vertices. To this end, assuming that the exact size of an active component is , our DP stores a value where is such that . Notice that for this to hold, implies that . Consequently, it suffices to present a dynamic program which correctly stores the size of any singleton active component, while for the rest of active components it allows for -approximate values on their sizes. In that case, the number of pairs of connected vertices accounted for every connected component is a -approximation, and since we sum over those, the final value has a -approximation ratio as well. Our algorithm is thus a DP that does exactly as required.
6 Kernelization
Given that, as we have shown in Theorem 9, Critical Node Cut is FPT parameterized by the vertex integrity of the input graph, a natural question arising is whether one can develop a polynomial kernel under this parameterization. In this section we prove that this cannot be the case under standard assumptions, even for the much more restricted parameterization by vertex cover number.
Theorem 16.
Critical Node Cut does not admit a polynomial kernel when parameterized by the vertex cover number of the input graph, unless .
Proof.
We present a polynomial parameter transformation reducing from -Multicolored Clique. In the latter, we are given a graph and a partition of into independent sets (also called color classes) , each of size , and we are asked to determine whether contains a -clique. It is known that -Multicolored Clique parameterized by does not admit a polynomial kernel unless [14].
Construction.
Consider an instance of -Multicolored Clique, where for all . By adding isolated vertices to the color classes if necessary, we may assume that is a power of two. For each color class , we assign to each of its vertices a unique (among the vertices of ) bit-string of length . For all , let denote the -th bit in the bit-string of . Construct the graph as follows.
-
We first introduce a clique on vertex set , which we refer to as core vertices. We say that a core vertex corresponds to color class , with being composed of all core vertices corresponding to color class , for . Furthermore, we say that a vertex of is encoded by the vertices .
-
Introduce a clique on the vertex set , and add edges such that every vertex of is adjacent to all the core vertices.
-
For every edge , where and , introduce an adjacency vertex which is adjacent to all vertices encoding its endpoints, that is, with vertices and for all . Let denote the set of all adjacency vertices due to edges in between vertices in and .
-
For all (that is, for all pairs of different color classes), and for all and , introduce an independent set of size , each vertex of which is incident with and . We refer to the vertices added in this step of the construction as dummy vertices.
This concludes the construction of the graph . Notice that is an independent set, consequently the vertex cover number of is at most . We will show that is an equivalent instance of Critical Node Cut, where and .
For the forward direction, consider a function such that is a -clique in . In that case, let be a set of size . We will prove that has at most pairs of connected vertices. First, notice that for every pair of core vertices belonging to that correspond to different color classes, their removal results in an independent set of dummy vertices of size in . Since there are such pairs, contains isolated dummy vertices. Furthermore, we argue that the adjacency vertex of any edge in is isolated in . To see this, consider the adjacency vertex where . It holds that , thus is indeed an isolated vertex in . Since induces a -clique, there are such isolated adjacency vertices. Finally, itself is of size . Consequently, the number of pairs of connected vertices in is at most the number of pairs of non-isolated vertices in the graph, which is at most .
For the opposite direction, let be of size at most such that has at most pairs of connected vertices. Notice that , consequently there exists a vertex . Since and is a clique, it follows that all vertices of are in the same connected component of ; let this component be denoted by . Furthermore, since for any vertex it holds that , any such vertex either belongs to or is isolated in .
Claim 17.
We have , for all .
Proof.
To prove the claim we argue about the number of isolated dummy vertices in . First, notice that for all . Consequently, the number of isolated dummy vertices in is maximized when for all , in which case the number of isolated dummy vertices is .
Assume that the claim is false. In that case, the number of isolated dummy vertices in is at most ; any other dummy vertex in must belong to , which also contains all vertices of . Consequently, the size of is at least . In that case
thereby yielding a contradiction as has more than pairs of connected vertices.
Recall that is composed of a connected component containing all non-isolated vertices, as well as some isolated vertices. By Claim 17 it holds that , thus for to have at most pairs of connected vertices the number of its isolated vertices must be at least . Due to Claim 17 it follows that it has exactly isolated dummy vertices, while none of the remaining vertices of can be isolated. Consequently, the deletion of isolates at least adjacency vertices.
We argue that no two isolated adjacency vertices belong to the same set . Assume that this is the case, and let . For it holds that , while . Due to Claim 17, this leads to a contradiction. Consequently, there is exactly one isolated adjacency vertex in belonging to for all .
Now consider one such isolated adjacency vertex . Notice that for all and . Since , and this holds for all isolated adjacency vertices, due to Claim 17 it follows that for all and .
Let such that is encoded by the vertices , for all . We claim that induces a -clique in . Consider . Notice that there exists an isolated adjacency vertex in belonging to ; the neighborhood of is exactly the vertices encoding its two endpoints in , thus .
7 Conclusion
In this paper we have thoroughly studied Critical Node Cut from the perspective of parameterized complexity, and presented a plethora of results, mostly taking into account the structure of the input graph. As a direction of future work, it is currently unknown whether the problem is FPT when parameterized by , where denotes the tree-depth of the input graph, or when parameterized by the cluster vertex deletion number of the input graph. Another interesting direction would be to (dis)prove the optimality of the or the algorithm; especially for the latter, we note that there are only a handful of natural problems for which such a running time is known to be optimal under the ETH [1, 11, 15]. Given the similarity of the construction of Theorem 2 and the algorithm of Theorem 8 with the corresponding results for Vertex Integrity [12], a natural question is whether we can obtain similar results for other optimization functions that take into account the sizes of the components of the graph remaining after the vertex deletions. Some of our results seem to be easily adaptable to such a more general setting (e.g., for general separately convex functions), however we do not know whether that is the case for the W[1]-hardness as well.
References
- [1] Pierre Aboulker, Édouard Bonnet, Eun Jung Kim, and Florian Sikora. Grundy coloring and friends, half-graphs, bicliques. Algorithmica, 85(1):1–28, 2023. doi:10.1007/S00453-022-01001-2.
- [2] Bernardetta Addis, Marco Di Summa, and Andrea Grosso. Identifying critical nodes in undirected graphs: Complexity results and polynomial algorithms for the case of bounded treewidth. Discret. Appl. Math., 161(16-17):2349–2360, 2013. doi:10.1016/J.DAM.2013.03.021.
- [3] Akanksha Agrawal, Daniel Lokshtanov, and Amer E. Mouawad. Critical node cut parameterized by treewidth and solution size is W[1]-hard. In Graph-Theoretic Concepts in Computer Science - 43rd International Workshop, WG 2017, volume 10520 of Lecture Notes in Computer Science, pages 32–44. Springer, 2017. doi:10.1007/978-3-319-68705-6_3.
- [4] Ashwin Arulselvan, Clayton W. Commander, Lily Elefteriadou, and Panos M. Pardalos. Detecting critical nodes in sparse graphs. Comput. Oper. Res., 36(7):2193–2200, 2009. doi:10.1016/J.COR.2008.08.016.
- [5] Richard E. Bellman. Dynamic programming. Princeton University Press, Princeton, NJ, 1957.
- [6] Bruno Courcelle and Stephan Olariu. Upper bounds to the clique width of graphs. Discret. Appl. Math., 101(1-3):77–114, 2000. doi:10.1016/S0166-218X(99)00184-5.
- [7] Marek Cygan, Fedor V. Fomin, Lukasz Kowalik, Daniel Lokshtanov, Dániel Marx, Marcin Pilipczuk, Michal Pilipczuk, and Saket Saurabh. Parameterized Algorithms. Springer, 2015. doi:10.1007/978-3-319-21275-3.
- [8] Reinhard Diestel. Graph Theory, volume 173 of Graduate texts in mathematics. Springer, 2017. doi:10.1007/978-3-662-53622-3.
- [9] Michael R. Fellows, Bart M. P. Jansen, and Frances A. Rosamond. Towards fully multivariate algorithmics: Parameter ecology and the deconstruction of computational complexity. Eur. J. Comb., 34(3):541–566, 2013. doi:10.1016/J.EJC.2012.04.008.
- [10] Michael R. Fellows, Daniel Lokshtanov, Neeldhara Misra, Matthias Mnich, Frances A. Rosamond, and Saket Saurabh. The complexity ecology of parameters: An illustration using bounded max leaf number. Theory Comput. Syst., 45(4):822–848, 2009. doi:10.1007/S00224-009-9167-9.
- [11] Fedor V. Fomin, Petr A. Golovach, Daniel Lokshtanov, Saket Saurabh, and Meirav Zehavi. Clique-width III: Hamiltonian cycle and the odd case of graph coloring. ACM Trans. Algorithms, 15(1):9:1–9:27, 2019. doi:10.1145/3280824.
- [12] Tesshu Hanaka, Michael Lampis, Manolis Vasilakis, and Kanae Yoshiwatari. Parameterized vertex integrity revisited. In 49th International Symposium on Mathematical Foundations of Computer Science, MFCS 2024, volume 306 of LIPIcs, pages 58:1–58:14. Schloss Dagstuhl – Leibniz-Zentrum für Informatik, 2024. doi:10.4230/LIPIcs.MFCS.2024.58.
- [13] Danny Hermelin, Moshe Kaspi, Christian Komusiewicz, and Barak Navon. Parameterized complexity of critical node cuts. Theor. Comput. Sci., 651:62–75, 2016. doi:10.1016/J.TCS.2016.08.018.
- [14] Danny Hermelin, Stefan Kratsch, Karolina Soltys, Magnus Wahlström, and Xi Wu. A completeness theory for polynomial (Turing) kernelization. Algorithmica, 71(3):702–730, 2015. doi:10.1007/S00453-014-9910-8.
- [15] Lars Jaffke, Paloma T. Lima, and Daniel Lokshtanov. b-coloring parameterized by clique-width. Theory Comput. Syst., 68(4):1049–1081, 2024. doi:10.1007/S00224-023-10132-0.
- [16] Daniel J. Kleitman and Douglas B. West. Spanning trees with many leaves. SIAM J. Discret. Math., 4(1):99–106, 1991. doi:10.1137/0404010.
- [17] Martin Koutecký, Asaf Levin, and Shmuel Onn. A parameterized strongly polynomial algorithm for block structured integer programs. In 45th International Colloquium on Automata, Languages, and Programming, ICALP 2018, July 9-13, 2018, Prague, Czech Republic, volume 107 of LIPIcs, pages 85:1–85:14. Schloss Dagstuhl – Leibniz-Zentrum für Informatik, 2018. doi:10.4230/LIPIcs.ICALP.2018.85.
- [18] Mohammed Lalou, Mohammed Amin Tahraoui, and Hamamache Kheddouci. The critical node detection problem in networks: A survey. Comput. Sci. Rev., 28:92–117, 2018. doi:10.1016/J.COSREV.2018.02.002.
- [19] Michael Lampis. Algorithmic meta-theorems for restrictions of treewidth. Algorithmica, 64(1):19–37, 2012. doi:10.1007/S00453-011-9554-X.
- [20] Michael Lampis. Parameterized approximation schemes using graph widths. In Automata, Languages, and Programming - 41st International Colloquium, ICALP 2014, volume 8572 of Lecture Notes in Computer Science, pages 775–786. Springer, 2014. doi:10.1007/978-3-662-43948-7_64.
- [21] Jannik Schestag. Critical node problem with vulnerable vertices. Master’s thesis, Philipps-Universität Marburg, 2021.
- [22] Jannik Schestag, Niels Grüttemeier, Christian Komusiewicz, and Frank Sommer. On critical node problems with vulnerable vertices. J. Graph Algorithms Appl., 28(1):1–26, 2024. doi:10.7155/JGAA.V28I1.2922.
- [23] Marco Di Summa, Andrea Grosso, and Marco Locatelli. Complexity of the critical node problem over trees. Comput. Oper. Res., 38(12):1766–1774, 2011. doi:10.1016/J.COR.2011.02.016.
- [24] Mario Ventresca and Dionne M. Aleman. A derandomized approximation algorithm for the critical node detection problem. Comput. Oper. Res., 43:261–270, 2014. doi:10.1016/J.COR.2013.09.012.
