In graph theory, a well-covered graph is an undirected graph in which the minimal vertex covers all have the same size. Here, a vertex cover is a set of vertices that touches all edges, and it is minimal if removing any vertex from it would leave some edge uncovered. Equivalently, well-covered graphs are the graphs in which all maximal independent sets have equal size. Well-covered graphs were defined and first studied by Michael D. Plummer in 1970.
The well-covered graphs include all complete graphs, balanced complete bipartite graphs, and the rook's graphs whose vertices represent squares of a chessboard and edges represent moves of a chess rook. Known characterizations of the well-covered cubic graphs, well-covered claw-free graphs, and well-covered graphs of high girth allow these graphs to be recognized in polynomial time, but testing whether other kinds of graph are well-covered is a coNP-complete problem.
A vertex cover in an undirected graph is a set of vertices that touches every edge in the graph. A vertex cover is minimal, or irredundant, if removing any vertex from it would destroy the covering property: the removal would cause some edge to become uncovered. It is minimum if there is no other vertex cover with fewer vertices. A well-covered graph is one in which every minimal cover is also minimum. In the original paper defining well-covered graphs, Plummer writes that this is "obviously equivalent" to the property that every two minimal covers have the same number of vertices as each other.[1]
An independent set in a graph is a set of vertices no two of which are adjacent to each other. If is a vertex cover in a graph, the complement of must be an independent set, and vice versa. is a minimal vertex cover if and only if its complement is a maximal independent set, and is a minimum vertex cover if and only if its complement is a maximum independent set. Therefore, a well-covered graph is, equivalently, a graph in which every maximal independent set has the same size, or a graph in which every maximal independent set is maximum.
In the original paper defining well-covered graphs, these definitions were restricted to connected graphs, although they are meaningful for disconnected graphs as well. Some later authors have replaced the connectivity requirement with the weaker requirement that a well-covered graph must not have any isolated vertices. For both connected well-covered graphs and well-covered graphs without isolated vertices, there can be no essential vertices, vertices which belong to every minimum vertex cover. Additionally, every well-covered graph is a critical graph for vertex covering in the sense that, for every vertex, deleting from the graph produces a graph with a smaller minimum vertex cover.
The independence complex of a graph is the simplicial complex having a simplex for each independent set in . A simplicial complex is said to be pure if all its maximal simplices have the same cardinality, so a well-covered graph is equivalently a graph with a pure independence complex.[2]
A cycle graph of length four or five is well-covered: in each case, every maximal independent set has size two. A cycle of length seven, and a path of length three, are also well-covered. Every complete graph is well-covered: every maximal independent set consists of a single vertex. Similarly, every cluster graph (a disjoint union of complete graphs) is well-covered. A complete bipartite graph is well covered if the two sides of its bipartition have equal numbers of vertices, for these are its only two maximal independent sets. The complement graph of a triangle-free graph with no isolated vertices is well-covered: it has no independent sets larger than two, and every single vertex can be extended to a two-vertex independent set.
A rook's graph is well covered: if one places any set of rooks on a chessboard so that no two rooks are attacking each other, it is always possible to continue placing more non-attacking rooks until there is one on every row and column of the chessboard.[3] The graph whose vertices are the diagonals of a simple polygon and whose edges connect pairs of diagonals that cross each other is well-covered, because its maximal independent sets are triangulations of the polygon and all triangulations have the same number of edges.
If is any -vertex graph, then the rooted product of with a one-edge graph (that is, the graph formed by adding new vertices to, each of degree one and each adjacent to a distinct vertex in) is well-covered. For, a maximal independent set in must consist of an arbitrary independent set in together with the degree-one neighbors of the complementary set, and must therefore have size .[4] More generally, given any graph together with a clique cover (a partition of the vertices of into cliques), the graph formed by adding another vertex to each clique is well-covered; the rooted product is the special case of this construction when consists of one-vertex cliques.[5] Thus, every graph is an induced subgraph of a well-covered graph.
defines a very well covered graph to be a well-covered graph (possibly disconnected, but with no isolated vertices) in which each maximal independent set (and therefore also each minimal vertex cover) contains exactly half of the vertices. This definition includes the rooted products of a graph and a one-edge graph. It also includes, for instance, the bipartite well-covered graphs studied by and : in a bipartite graph without isolated vertices, both sides of any bipartition form maximal independent sets (and minimal vertex covers), so if the graph is well-covered both sides must have equally many vertices. In a well-covered graph with vertices, without isolated vertices, the size of a maximum independent set is at most, so very well covered graphs are the well covered graphs in which the maximum independent set size is as large as possible.
A bipartite graph is well-covered if and only if it has a perfect matching with the property that, for every edge in, the induced subgraph of the neighbors of and forms a complete bipartite graph.[6] The characterization in terms of matchings can be extended from bipartite graphs to very well covered graphs: a graph is very well covered if and only if it has a perfect matching with the following two properties:
Moreover, if is very well covered, then every perfect matching in satisfies these properties.[7]
Trees are a special case of bipartite graphs, and testing whether a tree is well-covered can be handled as a much simpler special case of the characterization of well-covered bipartite graphs: if is a tree with more than two vertices, it is well-covered if and only if each non-leaf node of the tree is adjacent to exactly one leaf.[6] The same characterization applies to graphs that are locally tree-like, in the sense that low-diameter neighborhoods of every vertex are acyclic: if a graph has girth eight or more (so that, for every vertex, the subgraph of vertices within distance three of is acyclic) then it is well-covered if and only if every vertex of degree greater than one has exactly one neighbor of degree one.[8] A closely related but more complex characterization applies to well-covered graphs of girth five or more.[9]
The cubic (3-regular) well-covered graphs have been classified: they consist of seven 3-connected examples, together with three infinite families of cubic graphs with lesser connectivity.
The seven 3-connected cubic well-covered graphs are the complete graph, the graphs of the triangular prism and the pentagonal prism, the Dürer graph, the utility graph, an eight-vertex graph obtained from the utility graph by a Y-Δ transform, and the 14-vertex generalized Petersen graph .[10] Of these graphs, the first four are planar graphs. They are the only four cubic polyhedral graphs (graphs of simple convex polyhedra) that are well-covered. Four of the graphs (the two prisms, the Dürer graph, and) are generalized Petersen graphs.
The 1- and 2-connected cubic well-covered graphs are all formed by replacing the nodes of a path or cycle by three fragments of graphs which labels,, and . Fragments or may be used to replace the nodes of a cycle or the interior nodes of a path, while fragment is used to replace the two end nodes of a path. Fragment contains a bridge, so the result of performing this replacement process on a path and using fragment to replace some of the path nodes (and the other two fragments for the remaining nodes) is a 1-vertex-connected cubic well-covered graph. All 1-vertex-connected cubic well-covered graphs have this form, and all such graphs are planar.[11]
There are two types of 2-vertex-connected cubic well-covered graphs. One of these two families is formed by replacing the nodes of a cycle by fragments and, with at least two of the fragments being of type ; a graph of this type is planar if and only if it does not contain any fragments of type . The other family is formed by replacing the nodes of a path by fragments of type and ; all such graphs are planar.[11]
Complementing the characterization of well-covered simple polyhedra in three dimensions, researchers have also considered the well-covered simplicial polyhedra, or equivalently the well-covered maximal planar graphs. Every maximal planar graph with five or more vertices has vertex connectivity 3, 4, or 5.[12] There are no well-covered 5-connected maximal planar graphs, and there are only four 4-connected well-covered maximal planar graphs: the graphs of the regular octahedron, the pentagonal dipyramid, the snub disphenoid, and an irregular polyhedron (a nonconvex deltahedron) with 12 vertices, 30 edges, and 20 triangular faces. However, there are infinitely many 3-connected well-covered maximal planar graphs.[13] For instance, if a -vertex maximal planar graph has disjoint triangle faces, then these faces will form a clique cover. Therefore, the clique cover construction, which for these graphs consists of subdividing each of these triangles into three new triangles meeting at a central vertex, produces a well-covered maximal planar graph.[14]
Testing whether a graph contains two maximal independent sets of different sizes is NP-complete; that is, complementarily, testing whether a graph is well-covered is coNP-complete.[15] Although it is easy to find maximum independent sets in graphs that are known to be well-covered, it is also NP-hard for an algorithm to produce as output, on all graphs, either a maximum independent set or a guarantee that the input is not well-covered.[16]
In contrast, it is possible to test whether a given graph is very well covered in polynomial time. To do so, find the subgraph of consisting of the edges that satisfy the two properties of a matched edge in a very well covered graph, and then use a matching algorithm to test whether has a perfect matching.[7] Some problems that are NP-complete for arbitrary graphs, such as the problem of finding a Hamiltonian cycle, may also be solved in polynomial time for very well covered graphs.[17]
A graph is said to be equimatchable if every maximal matching is maximum; that is, it is equimatchable if its line graph is well-covered. More strongly it is called randomly matchable if every maximal matching is a perfect matching. The only connected randomly matchable graphs are the complete graphs and the balanced complete bipartite graphs. It is possible to test whether a line graph, or more generally a claw-free graph, is well-covered in polynomial time.[18]
The characterizations of well-covered graphs with girth five or more, and of well-covered graphs that are 3-regular, also lead to efficient polynomial time algorithms to recognize these graphs.[19]
K4