On Graphs whose Eternal Vertex Cover Number and Vertex Cover Number Coincide
Jasine Babu, L. Sunil Chandran, Mathew Francis, Veena, Prabhakaran, Deepak Rajendraprasad, J. Nandini Warrier

TL;DR
This paper characterizes graphs where the eternal vertex cover number equals the vertex cover number, provides polynomial algorithms for certain classes, and establishes NP-completeness for others, advancing understanding of the eternal vertex cover problem.
Contribution
It offers a characterization for graphs with equal eternal and minimum vertex cover numbers, and develops algorithms and complexity results for specific graph classes.
Findings
Characterization of graphs with $evc(G) = mvc(G)$ for certain classes.
Polynomial-time algorithms for biconnected chordal graphs.
NP-completeness results for biconnected internally triangulated planar graphs.
Abstract
The eternal vertex cover problem is a variant of the classical vertex cover problem where a set of guards on the vertices have to be dynamically reconfigured from one vertex cover to another in every round of an attacker-defender game. The minimum number of guards required to protect a graph from an infinite sequence of attacks is the eternal vertex cover number of , denoted by . It is known that, given a graph and an integer , checking whether is NP-hard. However, it is unknown whether this problem is in NP or not. Precise value of eternal vertex cover number is known only for certain very basic graph classes like trees, cycles and grids. For any graph , it is known that , where is the minimum vertex cover number of . Though a characterization is known for graphs for which , a…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
11institutetext: Indian Institute of Technology Palakkad, India 11email: [email protected],[email protected],[email protected] 22institutetext: Indian Institute of Science, Bangalore, India 22email: [email protected] 33institutetext: Indian Statistical Institute, Chennai, India 33email: [email protected] 44institutetext: National Institute of Technology Calicut, India 44email: [email protected]
On Graphs whose Eternal Vertex Cover Number and Vertex Cover Number Coincide
Jasine Babu 11
L. Sunil Chandran 22
Mathew Francis 33
Veena Prabhakaran 11
Deepak Rajendraprasad 11
J. Nandini Warrier 44
Abstract
The eternal vertex cover problem is a variant of the classical vertex cover problem where a set of guards on the vertices have to be dynamically reconfigured from one vertex cover to another in every round of an attacker-defender game. The minimum number of guards required to protect a graph from an infinite sequence of attacks is the eternal vertex cover number of , denoted by . It is known that, given a graph and an integer , checking whether is NP-hard. However, it is unknown whether this problem is in NP or not. Precise value of eternal vertex cover number is known only for certain very basic graph classes like trees, cycles and grids.
For any graph , it is known that , where is the minimum vertex cover number of . Though a characterization is known for graphs for which , a characterization of graphs for which remained open. Here, we achieve such a characterization for a class of graphs that includes chordal graphs and internally triangulated planar graphs. For some graph classes including biconnected chordal graphs, our characterization leads to a polynomial time algorithm to precisely determine and to determine a safe strategy of guard movement in each round of the game with guards.
The characterization also leads to NP-completeness results for the eternal vertex cover problem for some graph classes including biconnected internally triangulated planar graphs. To the best of our knowledge, these are the first NP-completeness results known for the problem for any graph class. 111An initial version containing some results included in this paper appeared in CALDAM 2019 [1].
Keywords:
Eternal Vertex Cover, Chordal Graphs, Internally Triangulated Planar Graphs, Locally Connected Graphs
1 Introduction
A vertex cover of a graph is a subset such that for every edge in , at least one of its endpoints is in . A minimum vertex cover of is a vertex cover of of minimum cardinality and its cardinality is the minimum vertex cover number of , denoted by . Equivalently, if we imagine that a guard placed on a vertex can monitor all edges incident at , then is the minimum number of guards required to ensure that all edges of are monitored.
The eternal vertex cover problem is an extension of the above formulation in the context of a multi-round game, where mobile guards placed on a subset of vertices of are trying to protect the edges of from an attacker. This problem was first introduced by Klostermeyer and Mynhardt [2]. We focus on a well studied variant of the game in which more than one guard occupying a vertex simultaneously is disallowed at any point of time. Guards are initially placed by the defender on some vertices, with at most one guard per vertex. The total number of guards on vertices remain the same throughout the game. In each round of the game, the attacker chooses an edge to attack. In response, the defender has to move at least one guard across the attacked edge. Other guards can either remain in their current locations or move to an adjacent vertex. The movement of all guards in a round is assumed to happen in parallel. Then the game proceeds to the next round of attack-defense. The defender wins if any sequence of attacks can be defended. If an attack cannot be defended in some round, the attacker wins.
If is a family of vertex covers of of the same cardinality, such that the defender can choose any vertex cover from as the starting configuration and successfully keep on defending attacks forever by moving among configurations in itself, then is an eternal vertex cover class of and each vertex cover in is an eternal vertex cover of . If is an eternal vertex cover belonging to an eternal vertex cover class , we say that is a configuration in . Eternal vertex cover number of is the minimum cardinality of an eternal vertex cover of .
Clearly, if the vertices occupied by the guards do not form a vertex cover at the beginning of each round, there is an attack which cannot be defended, namely an attack on an edge that has no guards on its end points. Therefore, it is easy to see that for any graph , .
Klostermeyer and Mynhardt [2] showed that, for , a cycle on vertices with , and for any tree on vertices with , eternal vertex cover number is one more than its number of internal vertices. In particular, for a path on an odd number of vertices, its eternal vertex cover number is twice its vertex cover number. They also showed that, for any graph , . From the examples of cycles and paths, it is clear that even for bipartite graphs, both the lower bound and upper bound mentioned above are tight.
Fomin et al. [3] discusses the computational complexity and derives some algorithmic results for the eternal vertex cover problem. They use a variant of the eternal vertex cover problem in which more than one guard can be placed on a single vertex. They showed that given a graph and an integer , it is NP-hard to decide whether . The paper gave an exact algorithm with time complexity and exponential space complexity and gave an FPT algorithm to solve the eternal vertex cover problem, with eternal vertex cover number as the parameter. They also describe a simple polynomial time 2-factor approximation algorithm for the eternal vertex cover problem, using maximum matchings. The above results can be carried forward (with minor modifications in proofs) to the original model which allows at most one guard per vertex. It is not yet known whether the decision problem is in NP, though it is known that the problem is in PSPACE [3]. It is also unknown whether the eternal vertex cover problem for bipartite graphs is NP-hard. Some related graph parameters based on multi-round attacker-defender games and their relationship with eternal vertex cover number were investigated by Anderson et al. [4] and Klostermeyer et al. [5].
Klostermeyer and Mynhardt [2] gave a characterization for graphs which have . The characterization follows a nontrivial constructive method starting from any tree which requires guards to protect it. They also give a few examples of graphs for which such as complete graph on vertices (), Petersen graph, K_{m}\mathbin{\text{\scalebox{0.84}{\square}}}K_{n}, C_{m}\mathbin{\text{\scalebox{0.84}{\square}}}C_{n} (where \mathbin{\text{\scalebox{0.84}{\square}}} represents the box product) and grid, if or is even. However, they mention that an elegant characterization of graphs for which seems to be difficult.
Here, we achieve such a characterization that works for a class of graphs , that includes locally connected graphs, chordal graphs and internally triangulated planar graphs. Without loss of generality, we only consider connected graphs for this characterization. The graph class consists precisely of all graphs for which each minimum vertex cover of that contains all its cut vertices induces a connected subgraph in . The characterization is simple to state (see Theorem 3.1) and can be used to show that given a connected graph for which every minimum vertex cover is connected, deciding whether is in NP. Further, if is a hereditary subclass of for which minimum vertex cover computation can be done in polynomial time, then using our characterization, it can be shown that given a graph in , deciding whether can be done in polynomial time. It can also be shown that given a biconnected graph in , can be computed in polynomial time.
In particular, our characterization has the following implications:
- •
For chordal graphs, deciding whether can be done in polynomial time. If the parameters are equal, then a safe strategy of guard movement in each round of the game, with guards, can be determined in polynomial time.
- •
For biconnected chordal graphs, can be computed in polynomial time. Further, a safe strategy of guard movement in each round of the game, with guards, can be determined in polynomial time.
- •
For internally triangulated planar graphs, deciding whether is in .
- •
Deciding whether is in NP for locally connected graphs, a graph class that includes the class of biconnected internally triangulated planar graphs. (A graph is locally connected, if the open neighborhood of each vertex induces a connected subgraph.)
Other results included in this paper are the following:
- •
Deciding whether is NP-complete for locally connected graphs and biconnected internally triangulated planar graphs. To the best of our knowledge, these are the first NP-completeness results known for the problem for any graph class. Various NP-hardness and approximation hardness results obtained are summarized in Figure 3.
- •
Klostermeyer and Mynhardt [2] had posed a question whether it is necessary for every edge of to be present in some maximum matching, to satisfy . We present an example which answers this question in negative.
2 A necessary condition for
In this section, we derive some necessary conditions for a graph to have . The following is an easy observation.
Observation 1
Let be a connected graph with at least two vertices. If , then for every vertex , has a minimum vertex cover containing .
Proof
Suppose and is an eternal vertex cover class of in which each configuration is a vertex cover with exactly vertices. Consider any vertex . If a configuration in has no guard on , then following an attack on an edge adjacent to , the next configuration should have a guard on , to successfully defend the attack. Since vertex cover in every configuration of is a minimum vertex cover, the observation follows. ∎
It is easy to see that the simple necessary condition stated above is not sufficient for many graphs. For a path on vertices, where is an even number, each vertex belong to some minimum vertex cover; but still . In fact, among graphs which are not biconnected, it is easy to find several such examples. Therefore, we generalize Observation 1 to get a stronger necessary condition for a graph with cut vertices.
We first introduce some notations.
Definition 1
For any subset of vertices of a graph , we define as the minimum integer such that has an eternal vertex cover class in which every configuration is a vertex cover of cardinality that contains all vertices in . We define as the minimum cardinality of a vertex cover of that contains all vertices of .
Note that when , and . The following is an easy generalization of Observation 1.
Observation 2
Let be a connected graph with at least two vertices and . If , then for every vertex , .
It is straightforward to obtain a proof of the above observation, by generalizing the proof of Observation 1.
Next lemma shows that for a graph for which vertex cover number and eternal vertex cover number coincide, these parameters also coincide with , where is the set of cut vertices of .
Lemma 1
Let be any connected graph. Let be the set of cut vertices of . If , then for any minimum eternal vertex cover class of , each configuration of is a vertex cover containing all vertices of . Consequently, .
Proof
Suppose . If , the result holds trivially. If , we will show that in any minimum eternal vertex cover class of , all cut vertices of have to be occupied with guards in all configurations.
Let be any cut vertex of . Let be a connected component of , and . Note that and are edge-disjoint subgraphs of with being their only common vertex. Let and . It is easy to see that . Since , there must be a vertex cover configuration in the eternal vertex cover class such that . Either or or both. If both and , then and has no minimum vertex covers without . This would immediately imply that in every configuration of , is occupied by a guard.
Therefore, without loss of generality, we need to consider the only case when has no minimum vertex cover containing . If is not occupied by a guard in a configuration , we must have and . In this configuration, consider an attack on an edge in . A guard must move to from . This is impossible because had only guards it has no vertex cover containing of size . Hence, in this case also, is occupied by a guard in every configuration of .
Since was an arbitrary chosen cut vertex, this implies that all vertices of must be occupied in all configurations of the eternal vertex cover class and hence . ∎
By combining Observation 2 and Lemma 1, we can derive the following stronger necessary condition for a graph to have its vertex cover number and eternal vertex cover number coincide.
Theorem 2.1 (Necessary Condition)
Let be any connected graph with at least two vertices. Let be the set of cut vertices of . If , then for every vertex , there is a minimum vertex cover of such that .
Proof
Suppose . Then, by Lemma 1, we have . Hence, by Observation 2, for every vertex , . Since we also have by Lemma 1, this implies that for every vertex , . ∎
Remark 1
From Theorem 2.1, it is evident that if , then must have a minimum vertex cover containing all its cut vertices.
The following is an interesting corollary of Lemma 1 and Observation 2.
Corollary 1
For any connected graph with at least three vertices and minimum degree one, .
The corollary holds because a degree one vertex and its neighbor (which is a cut vertex, if the graph itself is not just an edge) cannot be simultaneously present in a minimum vertex cover of .
3 Sufficiency of the necessary condition for graph class
In this section, we show that the necessary condition mentioned in Theorem 2.1 is also sufficient to have for the graph class defined here. We will also discuss some implications of the result when it is applied to some subclasses of this graph class, like locally connected graphs, chordal graphs, internally triangulated planar graphs and for graphs for which each minimum vertex cover induces a connected subgraph.
Definition 2 (Graph class )
The graph class consists of all connected graphs for which each minimum vertex cover of that contains all cut vertices of induces a connected subgraph in .
For any subset , let denote the induced subgraph of on the vertex set . A vertex cover of a graph is called a connected vertex cover if is connected. The connected vertex cover number of , , is the size of a minimum cardinality connected vertex cover of .
The following lemma gives a sufficient condition under which the converse of Observation 2 holds. The proof of this lemma involves repeated applications of Hall’s matching theorem [6].
Lemma 2
Let be a connected graph with at least two vertices. Let and suppose that every vertex cover of of cardinality that contains is connected. If for every vertex , , then .
Proof
Let . Suppose every vertex cover of with and is connected.
Assume that for every vertex , . We will show the existence of an eternal vertex cover class of with exactly guards such that in every configuration of , all vertices in are occupied.
We may take any vertex cover of with and as the starting configuration. It is enough to show that from any vertex cover of with and , following an attack on an edge such that , we can safely defend the attack by moving to a vertex cover such that and .
Consider an attack on the edge such that and .
Let is a vertex cover of with and . We will show that it is possible to safely defend the attack on by moving from to , where is an arbitrary minimum vertex cover such that the cardinality of its symmetric difference with is minimized.
Let , and . Since is a vertex cover of that is disjoint from , we can see that is an independent set. Similarly, is also an independent set. Hence, is a bipartite graph. Further, since we also have .
Claim 1
* has a perfect matching.*
Proof (of Claim 1)
Note that . Consider any . Since is a vertex cover of , we have . If , then is a vertex cover of size smaller than with , violating the fact that . Therefore, , and by Hall’s theorem[6], has a perfect matching. ∎
Since , we have .
Claim 2
, the bipartite graph has a perfect matching.
Proof (of Claim 2)
If is empty, then the claim holds trivially. Consider any non-empty subset . By Claim 1, . If , then is a vertex cover of with and . This contradicts the choice of , since the symmetric difference of and has lesser cardinality than that of and . Therefore, and . Hence, for all subsets , and by Hall’s theorem, has a perfect matching. ∎
With the help of Claim 1 and Claim 2, we can now complete the proof of Lemma 2. We will describe how the attack on the edge can be defended by moving guards.
- •
Case 1. :
By Claim 2, there exists a perfect matching in . In order to defend the attack, move the guard on to and also all the guards on to along the edges of the matching .
- •
Case 2. :
Recall that . By our assumption, the vertex cover is connected. Let be a shortest path from to in . By the minimality of , it has exactly one vertex from and will be an endpoint of . Suppose where , for . By Claim 2, there exists a perfect matching in . In order to defend the attack, move the guard on to , to and to , . In addition, move all the guards on to along the edges of the matching .
In both cases, the attack can be defended by moving the guards as mentioned and the new configuration is . ∎
The following theorem, which follows from Theorem 2.1 and Lemma 2, gives a necessary and sufficient condition for a graph to satisfy , if every minimum vertex cover of that contains all cut vertices is connected.
Theorem 3.1 (Characterization Theorem)
Let be a graph that belongs to , with at least two vertices, and be the set of cut vertices of . Then, if and only if for every vertex , there exists a minimum vertex cover of such that .
Proof
Let and suppose every minimum vertex cover of with is connected.
If for every vertex there exists a minimum vertex cover of such that , then it is easy to see that . Hence, by our assumption that every minimum vertex cover of with is connected, it follows that every vertex cover of of cardinality that contains is connected. Therefore, by Lemma 2, we have . Since , it follows that .
Conversely, if , by Theorem 2.1, for every vertex , there exists a minimum vertex cover of such that . ∎
Remark 2
By going through the proofs presented, it can be verified that Theorem 2.1 is valid also for the variant of the game where more than one guard is allowed on a vertex simultaneously.
In the next section, we discuss some algorithmic implications of this theorem.
4 Algorithmic consequences of the characterization theorem
In this section, we derive some computational upper bounds that can be derived using the characterization theorem.
The corollary below gives a method to determine for a connected graph such that all its minimum vertex covers are connected.
Corollary 2
Let be a connected graph for which every minimum vertex cover is connected. If for every vertex , there exists a minimum vertex cover of such that , then . Otherwise, .
Proof
Klostermeyer et al. [2] showed that is at most one more than the size of a connected vertex cover of . Hence, from our assumption that all minimum vertex covers of are connected, we have . Now, the result follows by Theorem 3.1. ∎
Remark 3
If is a connected graph for which every minimum vertex cover is connected, then it is easy to see that
\operatorname{evc}(G)=\min\{k:\forall v\in V(G),G\text{ has a vertex cover of size kv}\}.
This is because for any vertex , there is a vertex cover of of cardinality that contains .
Corollary 3
Given a connected graph for which every minimum vertex cover is connected, deciding whether is in NP.
Proof
By Remark 3, it is easy to get a polynomial time verifiable certificate to check if . The certificate can consist of vertex covers, in which for each vertex of , there is a vertex cover of size that contains . ∎
The following is another immediate corollary of Theorem 3.1.
Corollary 4
Given a graph that belongs to , deciding whether is in .
Proof
Using polynomially many queries to an NP oracle, we can compute . Let and be the set of cut vertices of . Computing can be done in polynomial time. By Theorem 3.1, it suffices to check whether for every vertex , there exists a vertex cover of of size such that . Checking whether there exists a vertex cover of of size such that is equivalent to checking whether the graph has a vertex cover of size . This decision problem is also in NP. Thus, the entire procedure of deciding whether requires only polynomially many queries to an NP oracle. ∎
Now, let us look at some graph classes for which the results stated above are applicable.
4.1 Locally connected graphs
A graph is locally connected if for every vertex of , its open neighborhood induces a connected subgraph in . Erdös, Palmer and Robinson [7] showed that local connectivity of random graphs exhibits a sharp threshold phenomenon. They proved that, when probability of adding an edge, , is or higher, almost all graphs in are locally connected. Some other sufficient conditions for a graph to be locally connected were given by Chartrand and Pippert [8] and Vanderjagt [9].
A block in a connected graph is either a maximal biconnected component or a bridge of . The following is a property of graphs for which each block is locally connected.
Property 1
Let be a connected graph. If every block of is locally connected, then every vertex cover of that contains all its cut vertices is a connected vertex cover.
Proof
The restriction of a vertex cover of to a block will give a vertex cover of the block. Hence, to prove the observation, it is enough to show that all vertex covers of a locally connected graph are connected.
For contradiction, suppose is a locally connected graph and is a vertex cover of such that is not connected. Then, there exists a vertex and two components and of such that is adjacent to vertices and . Since is a vertex cover that does not contain , we have . Since is locally connected, we know that is connected and therefore, and must belong to the same component of , which is a contradiction. Hence, is connected. ∎
From Property 1, it follows that includes all graphs for which every block is locally connected and therefore, the conclusion in Theorem 3.1 applies for them. Combining this with Corollary 2, Corollary 3 and Corollary 4, we get:
Corollary 5
*For a locally connected graph , and deciding whether is in NP.
If is a connected graph with at least two vertices in which every block is locally connected, then*
- •
* if and only if for every vertex of that is not a cut-vertex, there is a minimum vertex cover of that contains and all the cut-vertices*
- •
deciding whether is in .
The hardness of computing eternal vertex cover number of locally connected graphs is discussed in Section 5.
4.1.1 Internally triangulated planar graphs
A graph is an internally triangulated planar graph if it has a planar embedding in which all internal faces are triangles. It can be easily seen that biconnected internally triangulated planar graphs are locally connected. Hence, both the conclusions of Corollary 5 are applicable to internally triangulated planar graphs, as stated in Section 1. The complexity of computing eternal vertex cover number of locally connected graphs is discussed in Section 5.
Since biconnected chordal graphs are locally connected, conclusions of Corollary 5 hold for chordal graphs as well. However, for chordal graphs, we can derive some stronger results, as explained below.
4.2 Polynomial time algorithms
A class of graphs is called hereditary, if deletion of a subset of vertices from any graph in would always yield another graph in .
We show that for any hereditary subclass of for which minimum vertex cover computation is polynomial time, some stronger algorithmic consequences follow.
Corollary 6
Let be a hereditary subclass of such that, for all graphs in , can be computed in polynomial time. Then, given a graph that belongs to ,
deciding whether can be done in polynomial time, 2. 2.
if , then there is a polynomial time (per-round) strategy for guard movements using guards, and 3. 3.
if is biconnected, then can be computed in polynomial time and there is a polynomial time (per-round) strategy for guard movements using guards.
Proof
Without loss of generality, we may assume that is connected and has at least two vertices.
By our assumption, we can compute in polynomial time. Identifying the set of cut vertices of can also be done in polynomial time. By Theorem 3.1, to decide whether , it is enough to check for every vertex whether has a minimum vertex cover . Note that checking whether has a minimum vertex cover containing is equivalent to checking whether , where . Since , we can compute and perform this checking in polynomial time. 2. 2.
Suppose and be the set of cut vertices of . By Lemma 1, . By our assumption, every vertex cover of with is a connected vertex cover. Therefore, by Observation 2, for every vertex , .
We complete the proof by extending the basic ideas used in the proof of Lemma 2. Take any minimum vertex cover of with as the starting configuration. It is enough to show that from any minimum vertex cover of with , following an attack on an edge such that and , we can safely defend the attack by moving to a minimum vertex cover such that . Consider an attack on such an edge . To start with, choose an arbitrary minimum vertex cover of with as a candidate for being the next configuration. Suppose , and . By similar arguments as in the proof of Lemma 2, is a non-empty bipartite graph with a perfect matching.
- i.
If for each , the bipartite graph has a perfect matching, then we can choose to be the new configuration and move guards as explained in the proof of Lemma 2. 2. ii.
If the bipartite graph does not have a perfect matching for some , there is a method to redefine to get a new candidate configuration, as described below.
In polynomial time we can identify a subset for which , using a standard procedure described below. First find a max-matching in and identify an unmatched vertex . Let be the set of vertices in reachable via -alternating paths from in , together with vertex . If , it would result in an -augmenting path from , contradicting the maximality of . Thus, . (In fact, since has a perfect matching, and this would mean .) Now, let . It is easy to see that is a minimum vertex cover of with and the symmetric difference of and is smaller than the symmetric difference of and . Now we redefine to be and iterate the steps above after redefining the sets , and and the graph according to the new .
We will repeat these steps until we reach a point when the (re-defined) bipartite graph has a perfect matching, for each . This process will terminate in less than iterations, because in each iteration, the symmetric difference of the candidate configuration with is decreasing. The basic computational steps involved in this process are computing minimum vertex covers containing , finding maximum matching in some bipartite graphs and computing some alternating paths. All these computations can be performed in polynomial time [10]. 3. 3.
Let be a biconnected graph in . By Corollary 2, , . Therefore, by using part 1 of this corollary, can be decided exactly, in polynomial time. If , using part 2 of this theorem, we can complete the proof. If , we will make use of the fact that every minimum vertex cover of is connected. We will fix a minimum vertex cover and initially place guards on all vertices of and also on one additional vertex. Using the method given by Klostermeyer et al. [2] to show that , we will be able to keep defending attacks while maintaining guards on all vertices of after end of each round of the game.
∎
4.2.1 Chordal graphs
A graph is chordal if it contains no induced cycle of length four or more. It is well-known that chordal graphs form a hereditary graph class and computation of a minimum vertex cover of a chordal graph can be done in polynomial time [11]. It can also be easily seen that biconnected chordal graphs are locally connected. Hence, the conclusions of Corollary 6 hold for chordal graph.
5 Complexity results
In this section, we discuss some computational lower bounds of the eternal vertex cover problem. Fomin et al. [3] showed that, given a graph and an integer , deciding whether is NP-hard. However, the graph obtained by their reduction is not locally connected and it seems to be unknown whether the problem is NP-complete for any graph classes. In general, it is not known whether this problem is in NP or not. We show that this problem is NP-complete for locally connected graphs and biconnected internally triangulated planar graphs. Approximation hardness of the problem for locally connected graphs is also studied here.
5.1 Eternal vertex cover number of locally connected graphs
Proposition 1
Given a locally connected graph and an integer , it is NP-complete to decide if . Moreover, it is NP-hard to approximate of locally connected graphs within any factor smaller than unless P=NP.
Proof
By Corollary 5, given a locally connected graph , and an integer , deciding whether is in NP.
A famous result by Dinur et al. [12] states that given a connected graph , it is NP-hard to approximate the minimum vertex cover number of connected graphs within any factor smaller than . For a given connected graph and integer , we can construct a locally connected graph by adding a new vertex to and connecting it to all the existing vertices of . It can be seen easily that . Therefore, even for locally connected graphs, the minimum vertex cover number is NP-hard to approximate within any factor smaller than . By Corollary 5, . Hence, the result follows. ∎
5.2 Eternal vertex cover number of biconnected internally triangulated planar graphs
Since biconnected internally triangulated graphs are locally connected, as explained in the previous section, given a biconnected internally triangulated planar graph and an integer , deciding whether is in NP. We will show that this decision problem is NP-hard using a sequence of simple reductions. First we show that the classical vertex cover problem is NP-hard for biconnected internally triangulated planar graphs. Then we will show that an additive one approximation to vertex cover is also NP-hard for the same class and use it to derive the required conclusion.
Proposition 2
Given a biconnected internally triangulated planar graph and an integer , it is NP-complete to decide if .
Proof
The vertex cover problem on biconnected planar graph is known to be NP-hard [13]. We show a reduction from the vertex cover problem on biconnected planar graph to the vertex cover problem on biconnected internally triangulated planar graph. Suppose we are given a biconnected planar graph and an integer . We construct such that is an induced subgraph in . First, compute a planar embedding of in polynomial time [14]. We know that, in any planar embedding, each face of a biconnected planar graph is bounded by a cycle [15]. To construct , each internal face of with more than three vertices on its boundary is triangulated by adding four new vertices and some edges (see Fig. 1). Let be a cycle bounding an internal face of , with . Let and be two distinct indices from . Add three vertices , and inside . Now, add edges (, ), (, ) (, ), (, ), (, ) (, ), (, ), (, ), (, ) and (, ) in such a way that the graph being constructed does not loses its planarity. Add a new vertex inside the triangle formed by , and . Now, make adjacent to , and by adding edges (), () and (). Repeat this construction procedure for all faces of bounded by more than vertices. As per the construction, it is clear that the resultant graph is biconnected, internally triangulated and planar. It can be seen easily that the biconnected triangulated planar graph has a vertex cover of size at most if and only if the biconnected internally triangulated planar graph has a vertex cover of size at most where is the number of internal faces of bounded by more than vertices. ∎
In the proof of Proposition 1, we used the APX-hardness of vertex cover problem of locally connected graphs to derive the APX-hardness of eternal vertex cover problem of locally connected graphs. However, a polynomial time approximation scheme is known for computing the minimum vertex cover number of planar graphs [16]. Hence, we need a different approach to show the NP-hardness of eternal vertex cover problem of planar graphs. We will show that if minimum vertex cover number of biconnected internally triangulated planar graphs can be approximated within an additive one error, then it can be used to precisely compute the minimum vertex cover number of graphs of the same class.
Proposition 3
Getting an additive -approximation for computing the minimum vertex cover number of biconnected internally triangulated planar graphs is NP-hard.
Proof
Let be the given biconnected internally triangulated planar graph. Consider a fixed planar internally triangulated embedding of . The reduction algorithm constructs a new graph as follows. Make two copies of namely, and . For each vertex , let and denote its corresponding vertices in and respectively. Choose any arbitrary edge on the outer face of . Add new edges and maintaining the planarity. Now, the new graph is biconnected and planar; but the face with boundary needs to be triangulated. For this, we follow the same procedure we used in the proof of Proposition 2 which adds four new vertices and some new edges inside this face (see Fig. 2). The resultant graph is biconnected, internally triangulated and planar.
Consider a minimum vertex cover of such that . It is clear that either or is in . It is easy to see that is a vertex cover of with size . Similarly, at least vertices from and and at least vertices among {, , , } has to be chosen for a minimum vertex cover of . This shows that .
Suppose there exist a polynomial time additive -approximation algorithm for computing the minimum vertex cover number of biconnected internally triangulated graphs. Let be the approximate value of minimum vertex cover of , computed by this algorithm. Then, . This implies that , giving a polynomial time algorithm to compute . Hence, by Proposition 2, getting an additive -approximation for computing the minimum vertex cover for biconnected internally triangulated planar graphs is NP-hard. ∎
By Corollary 5, for a biconnected internally triangulated graph, . Therefore, a polynomial time algorithm to compute would give a polynomial time additive -approximation for . Hence, by Proposition 3, we have the following result.
Proposition 4
Given a biconnected internally triangulated planar graph and an integer , it is NP-complete to decide if .
Note that, using the PTAS designed by Baker et al. [16] for computing the minimum vertex cover number of planar graphs, it is possible to derive a polynomial time approximation scheme for computing the eternal vertex cover number of biconnected internally triangulated planar graphs. A summary of the complexity results presented here are given in Fig. 3.
11footnotetext: All locally connected graphs are biconnected, with the exception of .
6 Is the necessary condition sufficient?
It is interesting to ask if the necessary condition stated in Theorem 2.1 is sufficient for all graphs. Here, we give a biconnected bipartite planar graph of maximum degree which answers this question in negative. Consider the bipartite graph with and shown in Fig. 4. This graph consists of two copies of on vertex sets and connected by two edges and . From the figure, it can be easily seen that and it has only one minimum vertex cover that contains . Therefore, for defending an attack on an edge incident on the vertex , the guards need to move to the configuration . In this configuration, when there is an attack on the edge , has to move to a configuration containing . The only minimum vertex covers of containing are , and . Since the edge does not belong to any maximum matching of , a transition from to is not legal. Configurations and both contain . Following the attack on in configuration , when the guard on moves to , no other guard can move to , because no neighbor of is occupied in . Thus, transitions to and are also not legal. Hence, the attack on cannot be handled and therefore .
This example shows that the necessary condition is not sufficient for planar graphs or bipartite graphs, even when they are biconnected.
7 A graph with an edge not contained in any maximum matching but
Klostermeyer et al. [2] proved that if a graph has two disjoint minimum vertex covers and each edge is contained in a maximum matching then . They had asked if , is it necessary that for every edge of there is a maximum matching of that contains . Here, we give a biconnected chordal graph for which the answer is negative. The graph shown in Fig. 5 has , a maximum matching of size 4 and the edge not contained in any maximum matching. It can be shown that because has an evc class with two configurations, and .
Hence, even for a graph class such that for all , , there could be a graph with and an edge not present in any maximum matching of .
8 Conclusion and open problems
This paper presents an attempt to derive a characterization of graphs for which the eternal vertex cover number coincides with the vertex cover number. A characterization that works for a graph class that includes chordal graphs and internally triangulated planar graphs is obtained. The characterization is derived from a simple to state necessary condition; and has several implications, including a polynomial time algorithm for deciding whether a chordal graph has and a polynomial time algorithm for computing eternal vertex cover number of biconnected chordal graphs. It would be interesting to study the complexity of eternal vertex cover problem of chordal graphs. A characterization that works for bipartite graphs also remains open.
The characterization also leads to NP-completeness results for some graph classes like locally connected graphs and biconnected internally triangulated planar graphs. Even though it was known that the general problem is NP-hard, to the best of our knowledge, results obtained here are the first NP-completeness results known for the eternal vertex cover problem.
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1[1] Babu, J., Chandran, L.S., Francis, M.C., Prabhakaran, V., Rajendraprasad, D., Warrier, J.N.: On graphs with minimal eternal vertex cover number. In: Algorithms and Discrete Applied Mathematics - 5th International Conference, CALDAM 2019, Kharagpur, India, February 14-16, 2019, Proceedings. (2019) 263–273
- 2[2] Klostermeyer, W., Mynhardt, C.: Edge protection in graphs. Australasian Journal of Combinatorics 45 (2009) 235 – 250
- 3[3] Fomin, F.V., Gaspers, S., Golovach, P.A., Kratsch, D., Saurabh, S.: Parameterized algorithm for eternal vertex cover. Information Processing Letters 110 (16) (2010) 702 – 706
- 4[4] Anderson, M., Carrington, J.R., Brigham, R.C., D.Dutton, R., Vitray, R.P.: Graphs simultaneously achieving three vertex cover numbers. Journal of Combinatorial Mathematics and Combinatorial Computing 91 (2014) 275 – 290
- 5[5] Klostermeyer, W.F., Mynhardt, C.M.: Graphs with equal eternal vertex cover and eternal domination numbers. Discrete Mathematics 311 (2011) 1371 – 1379
- 6[6] Diestel, R.: Graph Theory. Volume 173. Springer, Graduate Texts in Mathematics (2000)
- 7[7] Erdös, P., Palmer, E.M., Robinson, R.W.: Local connectivity of a random graph. Journal of graph theory 7 (4) (1983) 411–417
- 8[8] Chartrand, G., Pippert, R.E.: Locally connected graphs. Časopis pro pěstování matematiky 99 (2) (1974) 158–163
