WorksComputer Science
Layering and reverse extension for weighted -path vertex cover
Abstract
We study the weighted -path vertex cover problem for any fixed integer , in which a vertex non-negatively weighted simple graph is given and one wants to find a minimum-weight vertex subset such that every simple path on vertices in contains at least one vertex of . The problem generalizes the classic weighted vertex cover problem, that is, , and it admits a -approximation algorithm of Hochbaum~[SIAM J. Comput., 1982] and a -approximation algorithm of Brüstle et al.~[IWOCA 2021]. In this paper, we carefully design local weight functions in the Layering and Reverse Extension local ratio framework of Bar-Yehuda et al.~[ACM Comput. Surv., 2004], leading to an approximation algorithm of ratio for odd and of ratio for even . When and , these ratios are and , respectively, matching the state-of-the-art approximation ratios for the corresponding special cases.
Acknowledgement
This work is supported by the NNSF of China (Grants 12371316, 92567201), the PNSF of Zhejiang China (Grant LZ25A010001), and the NSERC Canada.
Introduction
Throughout the paper, we consider a vertex non-negatively weighted simple graph . In the special case where the vertices have the uniform weight, the graph is also called unweighted. Unless otherwise explicitly specified, the graphs and the problems are vertex-weighted.
For an integer , a -path in the graph is a simple path on vertices. A vertex subset is a -path vertex cover, denoted as PVC, if every -path in contains at least a vertex of , or equivalently, the subgraph of obtained by removing the vertices of and those edges incident at the vertices of , i.e., , does not contain any -path. In the latter sense, is also called a deletion set for convenience. One sees that when , a 2-path is an edge, and a 2PVC is a classic vertex cover.
The weighted PVC problem is to find a PVC to minimize the total weight of the vertices in , i.e., , where is the given nonnegative vertex weight function for the input graph. The problem on unweighted graphs was first introduced by Brešar et al. [8], and later the weighted version was first studied by Brešar et al. [10], which generalize the classic vertex cover problem and its weighted variant, respectively. In this paper, we study the weighted PVC problem for any fixed integer , from the perspective of approximation algorithms.
Previous work
The classic vertex cover, or 2PVC, problem and its weighted variant are NP-hard [14] and APX-hard [1], even on cubic graphs. They admit a 2-approximation algorithm [4] but, assuming the Unique Games Conjecture (UGC), are not approximable within for any positive [17]. In the pioneering work of Brešar et al. [8], unweighted PVC is shown NP-hard, and consequently the weighted variant is NP-hard too, for every .
On the approximability, given a vertex-weighted graph , one can construct an instance of the weighted set cover problem in which every -path of becomes an “element” and every vertex of becomes a set that “covers” all the -paths passing it and has a weight. In particular, one observes that in such an instance, every element occurs in exactly sets (typically the number of sets is called frequency). Therefore, Bar-Yehuda and Even’s [4] and Hochbaum’s [16] algorithms for the low-frequency weighted set cover problem can be employed, to become the first -approximation algorithm for the weighted PVC problem. Since its first formal study [10] in 2014, the only improvement was made in 2021 by Brüstle et al. [11], who presented a -approximation algorithm.
For the unweighted PVC problem, Lee presents an -approximation algorithm [18].
On the inapproximability side, Brešar et al. showed that an -approximation algorithm for the unweighted PVC problem yields an -approximation algorithm for the classic vertex cover problem [8]. Therefore, assuming the UGC, the unweighted, and consequently the weighted, PVC problem is not approximable within for any positive .
Besides the above general results, there are also studies on some specific low values of and on some restricted graph classes. For instance, Tu and Zhou gave two 2-approximation algorithms for weighted 3PVC, based on the primal-dual method and the layering method [25, 24], respectively. For weighted 4PVC, Camby et al. gave a 3-approximation algorithm [12]. These are the state-of-the-art results for and 4, respectively.
When the graphs are unweighted and regular, better constant approximation ratios are known for [20, 26]. For unweighted 3PVC, a polynomial-time approximation scheme (PTAS) is known for planar graphs [23], and a PTAS is known for bounded-heterogeneity ball graphs [27].
Exact polynomial-time algorithms are also known for several restricted graph classes. Brešar et al. [8] showed that unweighted PVC is solvable in linear time for trees; Tu [21] gave an exact polynomial-time algorithm for cactus graphs. For weighted PVC, Brešar et al. [10] gave exact polynomial-time algorithms for complete graphs, paths, cycles, and trees; in particular, their algorithm for trees runs in time. When , since unweighted 3PVC is dual to the maximum dissociation set problem, the results of Orlovich et al. [19] imply the polynomial-time solvability of unweighted 3PVC on chordal graphs, weakly chordal graphs, interval-filament graphs, and AT-free graphs. Brešar et al. [9] also gave a linear-time algorithm for unweighted 3PVC on 4-path-tidy graphs1 Further exact, approximation, and parameterized algorithmic results have been summarized in a survey [22].
Our contribution
We study the weighted PVC problem for any fixed integer , from the approximation algorithm perspective. We adopt the Layering and Reverse Extension local ratio framework of Bar-Yehuda et al. [3], and carefully design local cost functions, leading to an approximation algorithm of ratio for odd and of ratio for even . When and , these ratios are 2 and 3, respectively, matching the state-of-the-art approximation ratios for the corresponding special cases.
The algorithm framework
The Layering and Reverse Extension framework has a forward phase of recursive layering and a backward phase of solution extension, with its performance analyzed by the local ratio technique [3]. During the forward layering phase, we abuse to denote the current remaining graph in which every vertex of has a positive remaining weight. In the current iteration, a vertex subset is located such that the induced subgraph on , , contains a spanning subgraph isomorphic to a carefully designed structure , which in our case is a maximal-arm spider (in Definition 2). Then, with respect to a local cost function designed for the vertices of , a scaling factor is found and the vertices of of the scaled weights form a layer, which is subtracted from the graph to give rise to at least one zero-weighted vertex. The zero-weighted vertices are then removed, and layering continues into the next iteration.
When an iteration is reached in which the remaining graph can be solved exactly, which in our case is spider-free, a minimal solution is obtained and the second reverse extension phase starts to restore the removed vertices in the reverse order of layering iterations, and at the end returns a PVC for the original graph.
For the performance analysis, the designed local cost function for layering is used to bound the weight of the achieved solution in each layer with respect to the optimum local to that layer, following the good-local-cost formulation of Aprile et al. [2].
The main result and paper organization
Theorem 1 For every fixed integer , the weighted -Path Vertex Cover problem admits a polynomial-time -approximation algorithm, where
We introduce some key notations and the spider structures in § 3. § 4 presents a polynomial-time dynamic programming exact algorithm for spider-free graphs, that is, the input graph does not contain the defined spider structure as a subgraph. The main algorithm of Layering and Reverse Extension, together with the local-ratio analysis and the running time analysis, are in § 5. § 6 concludes the paper.
Preliminaries
All graphs are finite, simple, and undirected. Given a graph and its nonnegative vertex weight function and , let for any vertex subset , and let
Definition 1 (Three-arm spider). For three positive integers , , and , let be the tree obtained from three paths of lengths , respectively, by identifying one endpoint of each path. The identified vertex is the center; the three paths are the arms and the vertices other than the center are arm-vertices.
Define the three-arm spider
The number of vertices of is
If a graph contains no as a subgraph, then we call it -free or spider-free.
Given a three-arm spider, an -path (i.e., length- path) ending at and containing no arm-vertex of the spider can be added to become a new arm to make it into a four-arm spider; a four-arm spider can continue to grow into a five-arm spider, and so on.
Definition 2 (Maximal-arm spider). Starting with a three-arm spider re-written as , where is the center and are the three arms, repeatedly find an -path ending at and containing no arm-vertex of , and then append it as a new arm to . Upon no new arm can be found, the resultant , where , is called a maximal-arm spider. See for an illustration in Figure 1.

Figure 1. An illustration of a maximal-arm spider , where , when is odd (left, where ) and when is even (right, where ).
We remark that a maximal-arm spider is greedily grown from a three-arm spider, and thus it is not necessarily unique, neither necessarily has a unique number of arms, but all depending on what the new arms are and how they are discovered.
In our Layering and Reverse Extension algorithm for the weighted PVC problem, we will use maximal-arm spiders to construct layers. The next two lemmas give the first idea on why they are important to the approximation ratio we want to prove.
Lemma 1 For a -arm spider , if the center is not included in a PVC , then contains at least one vertex from each of arms.
Proof. If does not contain any vertex from two arms, then these two arms together with the center form a -path, a contradiction.
Lemma 2 If all the vertices of a maximal-arm spider are positively weighted, then every PVC of the graph containing all the vertices of can be reduced by removing at least one vertex of .
Proof. Suppose is a -path in passing the center . We claim that contains at least an arm-vertex of , since otherwise from one can find a new arm for , contradicting the maximality. In other words, is still a PVC. This proves the lemma.
Basically, using Lemma 1, we assign a weight of 1 to every arm-vertex while a weight of to the center. This way, the minimum cost of covering a -arm spider is at least . Furthermore, given that all these weights are positive, by Lemma 2 our to-be computed solution will not contain all the vertices of the spider but at most when is odd (or a similar value when is even). It follows that the approximation ratio is no more than . We will formally present the algorithm and prove its performance in the next two sections.
Lemma 2 also inspires the definition of minimal PVC: A PVC of is minimal if for every , is no longer a PVC.
Lemma 3 For a PVC of , is minimal if and only if for every , there exists a -path such that , which is called the witness path of .
Proof. Consider a vertex . Since is not a PVC, there exists a -path that is not covered by , i.e., . On the other hand, since is a PVC, must contain at least one vertex of , and thus exactly the vertex .
Conversely, removing from will leave uncovered, and thus is minimal.
A polynomial-time exact algorithm for spider-free graphs
In this section, we show that the PVC problem on spider-free graphs is solvable in polynomial time. A spider-free graph is one that does not contain any three-arm spider defined in Eq. (1), and thus it is the boundary case terminating the first layering phase of the algorithm. For distinction, we fix a spider-free graph for discussion.
There are two steps in the exact algorithm. First, we show that the spider-free graph has pathwidth bounded by a function depending only on , and construct a path decomposition of bounded width for . We then give a dynamic program on this path decomposition to compute a minimum weight PVC for .
Bounded pathwidth and a path decomposition
Given a graph, an edge contraction merges the two connecting vertices into one and removes the loop just formed. A graph is a minor of if can be obtained from by a sequence of edge contractions, edge and vertex deletions. An edge subdivision adds new vertices to the edge whereby breaking the edge into two. A graph is a topological minor of if a subdivision of is (isomorphic to) a subgraph of . One sees that a topological minor is a minor, but the converse is not necessarily true. Nevertheless, when the minor is a subcubic graph, it is a topological minor too due to Diestel [13].
Proposition 1 [13 Proposition 1.7.3] If a subcubic graph is a minor of , then is a topological minor of too.
Since every subdivision of the three-arm spider contains as a subgraph, this proposition immediately implies that excluding as a subgraph in also excludes as a minor. We summarize this conclusion in the next lemma.
Lemma 4 If is a spider-free graph, then the three-arm spider is not a minor of .
Given a graph , a tree decomposition represents the vertices of as subtrees of a tree , in such a way that vertices in are adjacent only when the corresponding subtrees of overlap. In detail, a tree decomposition [13 Section 12.3] is a pair , where is a family of subsets (called bags) of vertices of , and is a tree whose nodes are these bags, satisfying the following properties: 1) every vertex of appears in (called associated with) some bags that are connected in , and 2) for every edge in , both and appear in some bags. The width of the tree decomposition is the size of its largest bag minus one, i.e., , and the treewidth of the graph is the minimum width among all possible tree decompositions of .
A tree decomposition in which the underlying tree is a path graph is called a path decomposition of , and the width parameter derived from this path decomposition is called pathwidth. Analogously, the pathwidth of the graph is the minimum width among all possible path decompositions of [13]. We remark that for notational convenience, for a path decomposition , where and is the underlying path, we assume these bags are indexed to match their node order on the path . One sees that every graph has path and tree decompositions, for example a single bag of all the vertices of the graph. Efforts are put in finding an optimal path or tree decomposition that achieves the minimum pathwidth or treewidth, correspondingly, followed by their applications.
We next use the following result on the pathwidth of a graph due to Bienstock et al. [5] (where a forest is a graph consisting of one or multiple trees).
Lemma 5 [5] If a graph contains no forest as a minor, then its pathwidth .
Since is a tree, Lemmas 4 and 5 give an explicit constant upper bound on the pathwidth of the spider-free graph .
Corollary 1 For a spider-free graph , its pathwidth
Proof. One sees that when , , and thus . When , , and thus . □
For a fixed , a bounded-width path decomposition of a spider-free graph can be constructed in linear time. For example, one can first call Bodlaender’s algorithm [6] to construct a tree decomposition of width at most for in linear time, and then call Bodlaender and Kloks’s algorithm [7] to construct a path decomposition of width at most for in linear time. In the sequel, we assume a path decomposition of width at most for is readily available.
Definition 3 A nice path decomposition for a graph , where , is a path decomposition satisfying 1) the two end-bags are empty, i.e., , and 2) for each , either for some vertex of (introduce ) or for some vertex of (forget ).
The following standard transformation shows that imposing this nice form does not increase the width.
Lemma 6 A path decomposition of a graph can be transformed in linear time into a nice path decomposition of the same width, where .
Proof. We construct the bags in the new path decomposition sequentially and explicitly, starting with the empty bag . Assuming without loss of generality that has just been constructed using a sub-collection of bags of , and that , where for notational convenience. Forgetting one vertex of at a time to produce new bags sequentially, namely, such that . Next, introducing one vertex of at a time to produce new bags sequentially, namely, . One thus sees that . This way, using the bag , we have constructed sequential bags such that these bags satisfy the second property in Definition 3. At the end of using the last bag , we achieve a sequence of bags such that . Lastly, forget the vertices of one at a time from to produce bags with the last one , where . Therefore, both properties in Definition 3 are satisfied.
For notational convenience, we denote . We have , i.e., every vertex of is introduced exactly once and forgotten exactly once. This proves the number of constructed bags in .
It is seen that all the old bags of occur in , and thus every edge of continues to exist. Also, by the ways of forgetting and introducing vertices from to achieve and then to achieve , every vertex of continues to associate with an interval of bags in , and thus a subpath of the path . That is, is a nice path decomposition for . Since we do not produce any bag of size larger than , the pathwidth of is the same as that of . One clearly sees that the construction takes time, which is linear. This finishes the proof of the lemma. □
By Lemma 6, in the sequel, we assume a nice path decomposition of width at most for a spider-free graph is readily available, where and each vertex of is introduced first and then forgotten from a later bag. We use to solve the weighted PVC problem on exactly.
A dynamic programming exact algorithm
Consider a spider-free graph and a nice path decomposition of width at most for stated right in the above. Our algorithm examines these bags one by one sequentially, and distinguishes on how the current bag is obtained from , by introducing or forgetting a vertex .
Denote , the set of vertices introduced up to , and the induced subgraph . Importantly, since when a vertex is forgotten all its neighbors must have all been introduced, there is no edge between the set of vertices (which have been forgotten) and the set of vertices (which are to be introduced). This leads to our idea to maintain the collection of all partial -paths in the current graph , where is the set of deleted vertices, and update them when the vertex is introduced, deleted, or forgotten. We point out that the existence of a complete -path indicates the infeasibility of the deleted vertex set .
Furthermore, we ignore the detailed vertices of , but only record their total weight. On the other hand, we do keep the detailed vertices of . With respect to , a partial -path is denoted as a vector
where a vertex denotes a retained vertex, denotes an unused position, and each occurrence of denotes a distinct retained forgotten vertex of . The consecutive occupied positions correspond to adjacent distinct vertices. Let denote the collection of all such partial -paths that are valid in the current residual graph; define a dynamic programming (DP) state as a pair , and stores the minimum weight of a deletion set in producing this state. That is, if several deletion sets produce the same state, then only the minimum-weight one is kept for backtracking purpose.
At the initial empty bag , we initialize and set . Below we assume all possible states at the bag have been decided, and their associated minimum weight computed. We distinguish the two introduce and forget transitions.
Case 1: . For each state at , the DP algorithm considers whether is deleted or retained.
If is deleted, then is added to , its weight is added to the objective value, and all the partial -paths remain unchanged. That is, a valid state is reached and .
Suppose that is retained. Firstly, each partial -path remains valid, since does not have to be used in the path. In addition, can be added the path to produce new representations, by replacing each position with by . To be valid, every occupied position adjacent to , i.e., and if they are within range, has to have a vertex of adjacent to in the underlying graph , or otherwise the new representation is invalid and deleted. We note that an occupied neighboring position cannot be , which represents a forgotten vertex not adjacent to in the graph . The final collection, denoted as , is the union of and these new valid partial -paths containing . We have .
Case 2: . For each state at , the DP algorithm considers whether has been deleted or is retained.
If , i.e., has been deleted, then it is removed from to update to be a subset of , and all the partial -paths remain unchanged. That is, a valid state is reached and .
Suppose that , i.e., is retained. For each partial -path , if it does not contain , then it remains valid; otherwise, the occurrence of is replaced by while all other symbols remain unchanged. We note that such a symbol-replacement process might lead to identical partial -paths, and if so then only one is kept. For the final collection, denoted as , we have .
We also note that in the above two transitions, multiple states at can lead to the same state at , and if so then the algorithm keeps the minimum weight and the associated deletion set for backtracking purpose. At the final empty bag , every remaining state corresponds exactly to a PVC of the underlying graph , and the one achieving the minimum weight can be backtracked to produce the deletion set returned as the solution, denoted as .
Theorem 2. For every fixed , the dynamic programming algorithm is an -time exact algorithm for the weighted PVC problem on spider-free graphs, where is the order of the graph and is a function depending only on .
Proof. For a spider-free graph , by Corollary 1, has pathwidth at most . A nice path decomposition of can be constructed in linear time. Using , a minimum-weight PVC of can walk through to delete or retain vertices correspondingly, reaching a valid state at the last bag where . It follows that has the same weight as , and thus is an optimal solution.
Recall that in the DP algorithm we have states in the form , where is the deletion set within the current bag and is the collection of valid partial -paths in the current residual graph. Let
There are at most possible partial -paths. Hence the number of possible collections is at most , and there are at most choices for . Thus the number of states at each bag is no more than
which is a constant depending only on .
By the two-case distinction in the DP algorithm, each transition examines a state at the preceding bag at most times to produce all possible states at the current bag, followed by duplicate removing. Therefore each transition takes a time depending only on . We thus conclude that the overall running time for the DP algorithm, and consequently for the entire process leading to , is , where and is a function depending only on .
Algorithmic framework of layering and reverse extension
Given a subgraph of the current vertex positively weighted graph , a non-zero nonnegative function that defines the vertex weights in is called a local cost function for . We use to denote the vertex non-negatively weighted graph in which is the vertex weight function.
Definition 4 (Good local cost). Given a vertex subset , a local cost function for , and a constant , if holds for every minimal PVC of , then we call the weighted graph -good in .
Layering and reverse extension is an algorithmic framework that, given a weighted graph , cuts off a layer of vertex weights resulting in a smaller graph , recursively computes a solution for , then greedily extends the solution using some vertices in the layer to become a solution for the original graph . For an input graph in which the vertex weight function is , we denote the procedure as , in which the detailed steps of computation are depicted in Algorithm 1.
Algorithm 1 .
Require: with vertex weight function ;
Ensure: a minimal PVC .
;
if then
;
;
; ▷ recursive call;
while do
take a vertex of ; ▷ reverse extension starts;
;
;
if ( is not a PVC of ) then ;
;
return ;
if ( is spider-free) then ▷ boundary case;
return ; ▷ a minimum-weight PVC of ;
else
find a maximal-arm spider in ; ▷ layering starts;
define
;
define
return ; ▷ recursive call;
In Lines 13–20 of the layering phase, the conditional statement distinguishes whether a layering is necessary, namely, if is spider-free, i.e., boundary case, then (Line 14) the dynamic programming algorithm stated in Theorem 2 is called to solve the instance exactly. Otherwise, (Lines 16–20) a three-arm spider can be located and then greedily a maximal-arm spider containing is formed, where . The vertices of this spider form a layer, for which a local cost function is designed (Line 17), and subsequently the coefficient of the layer is determined so that taking off the layer from the graph leaves at least one zero-weight vertex. Then the algorithm recursively runs on the graph with the remaining vertex weights. During the recursive call, in Lines 1–12, the algorithm first removes zero-weighted vertices, then executes Lines 13–20 to find a solution . Upon is returned, the reverse extension phase starts, in which zero-weighted vertices are scanned in an arbitrary order to restore the graph, so that if does not remain as a PVC of the current graph, then the scanned vertex is added to . This ensures the final is a minimal PVC for the original graph .
Lemma 7 (Reverse extension preserves minimality). Let and be a minimal PVC of the graph , and let be a restored vertex. If is a PVC of , then keep ; otherwise, replace it by . In either case, the resulting set is a minimal PVC of .
Proof. The minimality holds trivially if is a PVC of .
Next suppose is not a PVC of . One first sees that is a PVC of . If is not minimal, then there exists an such that is a PVC of . Since is not on any -path of , is a PVC of , contradicting the minimality of in . This proves that is a minimal PVC of .
Lemma 8 (Spider local optimum). The weighted -arm spider defined in Lines 16–17 of Algorithm 1, .
Proof. Let be a PVC of . If the center , then .
Suppose that . We conclude from Lemma 1 that contains at least arm-vertices each of local cost 1. That is, . This proves the lemma.
Lemma 9 (Spider local upper bound). The weighted maximal-arm spider defined in Lines 16–17 of Algorithm 1, every minimal PVC of satisfies .
Proof. Note that the vertices of have positive weights of at least 1. By Lemma 2, does not contain all the vertices of , and thus .
Lemma 10 (Good spider layer). The weighted maximal-arm spider defined in Lines 16–17 of Algorithm 1 is -good with
Proof. Let be a minimal PVC of . By Lemmas 8 and 9, and , when is odd,
When is even,
That is, is -good with the defined .
Theorem 3 (Local-ratio theorem for LRE). Let . If every local weighted maximal-arm spider defined in Lines 16–17 of Algorithm 1 is -good in the current graph and ALG in Line 14 solves spider-free graphs exactly, then returns a minimal PVC of with weight .
Proof. Denote the original graph, and denotes the subgraph induced by the vertices having positive residual weight after the -th layering step, and let be the corresponding residual weight function restricted to (that is, for every , ). The local weighted maximal-arm spider of the -th layer is selected from the graph with coefficient , for , and terminates at the residual spider-free graph .
Let be the PVC returned by LRE, and let be an optimum PVC of . For every layer , let denote the minimum-weight of the PVC of . Since is a PVC of and is restricted to , we have
Similarly, is a PVC of the spider-free graph , and hence
Therefore,
Recall that the returned is formed by , followed by reverse extension that adds vertices from into , sequentially for . For every layer , consider the moment in the reverse-extension process when all vertices of have been restored. By Lemma 7, the solution at this moment is a minimal PVC of . Moreover, subsequent reverse-extension steps never remove any vertex from the solution. Therefore, the solution at this moment is exactly . That is, is a minimal PVC of . Since is -good in ,
Using and , we have
This proves the theorem. □
Lemma 11 Given a vertex non-negatively weighted graph , the LRE algorithm runs in time, where and , and are functions depending only on .
Proof. A three-arm spider contains at most vertices interconnected in a specific structure, and thus it can be located, if exists, in time. Afterwards, since enumerating all possible arms at the center vertex in the subgraph induced by the vertices outside of the spider takes time, and there are of them, greedily expanding into a maximal-arm spider , in which there are at most arms, takes time.
Given a maximal-arm spider , setting up the local cost function , determining the parameter , and updating the vertex weight function takes time. It follows that every layer takes an overall time of , and it leaves at least a zero-weight vertex in the residual graph. That is, there are at most layers.
During the reverse extension, when a zero-weight vertex is restored, the feasibility of the current deletion set can be tested by enumerating all -paths in the restored graph, which takes time. Since there are at most restorations, the overall reverse extension time is in .
Recall from Theorem 2 that the dynamic programming algorithm produces an exact solution for a spider-free graph, which is a subgraph of , in time, where is a function depending only on . Summing up, a coarse running time bound for the LRE is , where is a polynomial function in and is an exponential function depending only on . We remark that if is part of the input, then the running time is not necessarily polynomial any more. □
Combining Lemma 10, Theorem 3, and Lemma 11, we have achieved the conclusion stated as Theorem 1, that is, for every fixed integer , the weighted PVC problem admits a polynomial-time -approximation algorithm, where
Conclusion
We studied the weighted -Path Vertex Cover problem from the perspective of approximation algorithm, where the input graph is vertex non-negatively weighted. We observed a maximal-arm spider that can be approximated within a factor of , and thus designed it into layers in the Layering and Reverse Extension framework. Furthermore, we proposed a polynomial-time exact dynamic programming algorithm that solves the boundary case of spider-free graphs, based on a path decomposition of bounded width. Using the local-ratio technique, we were able to prove that the performance ratio of our approximation algorithm is no more than . The improvement in the approximation ratio is huge considering the previous best ratio being , which was improved from an earlier ratio of . Notably, the running time of both the dynamic programming algorithm, and the Layering and Reverse Extension algorithm, is exponential in , and thus requires to be a fixed constant. It would be interesting to see whether the approximation ratio lower bound is or not, and if not, how one can improve the ratio into .
References
- [1]Alimonti, P. and V. Kann. Some APX-completeness results for cubic graphs. Theoret. Comput. Sci., 237:123–134, 2000.DOI
- [2]Aprile, M., M. Drescher, S. Fiorini, and T. Huynh. A tight approximation algorithm for the cluster vertex deletion problem. Math. Program., 197:1069–1091, 2023.
- [3]Bar-Yehuda, R., K. Bendel, A. Freund, and D. Rawitz. Local ratio: A unified framework for approximation algorithms. ACM Comput. Surv., 36:422–463, 2004.
- [4]Bar-Yehuda, R. and S. Even. A linear-time approximation algorithm for the weighted vertex cover problem. J. Algorithms, 2:198–203, 1981.
- [5]Bienstock, D., N. Robertson, P. D. Seymour, and R. Thomas. Quickly excluding a forest. J. Combin. Theory Ser. B, 52:274–283, 1991.
- [6]Bodlaender, H. L. A linear-time algorithm for finding tree-decompositions of small treewidth. SIAM J. Comput., 25:1305–1317, 1996.
- [7]Bodlaender, H. L. and T. Kloks. Efficient and constructive algorithms for the pathwidth and treewidth of graphs. J. Algorithms, 21:358–402, 1996.
- [8]Brešar, B., F. Kardoš, J. Katrenič, and G. Semanišin. Minimum k-path vertex cover. Discrete Appl. Math., 159:1189–1195, 2011.DOI
- [9]Brešar, B., T. Kos, R. Krivoš-Belluš, and G. Semanišin. Hitting subgraphs in P₄-tidy graphs. Appl. Math. Comput., 352:211–219, 2019.DOI
- [10]Brešar, B., R. Krivoš-Belluš, G. Semanišin, and P. Šparl. On the weighted k-path vertex cover problem. Discrete Appl. Math., 177:14–18, 2014.
- [11]Brüstle, N., T. Elbaz, H. Hatami, O. Kocer, and B. Ma. Approximation algorithms for hitting subgraphs. In Proceedings of IWOCA 2021, pages 370–384, 2021.arxiv.org/abs/2011.14450
- [12]Camby, E., J. Cardinal, M. Chapelle, S. Fiorini, and G. Joret. A primal-dual 3-approximation algorithm for hitting 4-vertex paths. In Proceedings of ICGT 2014, page 61, 2014.
- [13]Diestel, R. Graph Theory. Springer, 5th edition, 2017.
- [14]Garey, M. R. and D. S. Johnson. Computers and Intractability: A Guide to the Theory of NP-completeness. W. H. Freeman and Company, San Francisco, 1979.
- [15]V. Giakoumakis, F. Roussel, and H. Thuillier. On P₄-tidy graphs. Discrete Math. & Theoret. Comput. Sci., 1:17–41, 1997.
- [16]D. S. Hochbaum. Approximation algorithms for the set covering and vertex cover problems. SIAM J. Comput., 11:555–556, 1982.DOI
- [17]S. Khot and O. Regev. Vertex Cover might be hard to approximate to within 2 − ε. J. Comput. Syst. Sci., 74:335–349, 2008.
- [18]E. Lee. Partitioning a graph into small pieces with applications to path transversal. Math. Program., 177:1–19, 2019.
- [19]Y. Orlovich, A. Dolgui, G. Finke, V. Gordon, and F. Werner. The complexity of dissociation set problems in graphs. Discrete Appl. Math., 159:1352–1366, 2011.DOI
- [20]B. Ries, B. Schamberg, and W. Unger. The k-observer problem on d-regular graphs. In Proceedings of SSS 2015, pages 81–93. Springer, 2015.DOI
- [21]J. Tu. Efficient algorithm for the vertex cover Pₖ problem on cacti. Appl. Math. Comput., 311:217–222, 2017.DOI
- [22]J. Tu. A survey on the k-path vertex cover problem. Axioms, 11:191, 2022.arxiv.org/abs/2201.03397
- [23]J. Tu and Y. Shi. An efficient polynomial time approximation scheme for the vertex cover P₃ problem on planar graphs. Discuss. Math. Graph Theory, 39:55–65, 2019.DOI
- [24]J. Tu and W. Zhou. A factor 2 approximation algorithm for the vertex cover P₃ problem. Inform. Process. Lett., 111:683–686, 2011.
- [25]J. Tu and W. Zhou. A primal-dual approximation algorithm for the vertex cover P₃ problem. Theoret. Comput. Sci., 412:7044–7048, 2011.DOI
- [26]A. Zhang, Y. Chen, Z.-Z. Chen, and G. Lin. Improved approximation algorithms for path vertex covers in regular graphs. Algorithmica, 82:3041–3064, 2020.arxiv.org/abs/1811.01162
- [27]Z. Zhang, X. Li, Y. Shi, H. Nie, and Y. Zhu. PTAS for minimum k-path vertex cover in ball graph. Inform. Process. Lett., 119:9–13, 2017.DOI