fbpx
Wikipedia

Edge cover

In graph theory, an edge cover of a graph is a set of edges such that every vertex of the graph is incident to at least one edge of the set. In computer science, the minimum edge cover problem is the problem of finding an edge cover of minimum size. It is an optimization problem that belongs to the class of covering problems and can be solved in polynomial time.

Definition edit

Formally, an edge cover of a graph G is a set of edges C such that each vertex in G is incident with at least one edge in C. The set C is said to cover the vertices of G. The following figure shows examples of edge coverings in two graphs (the set C is marked with red).

 

A minimum edge covering is an edge covering of smallest possible size. The edge covering number ρ(G) is the size of a minimum edge covering. The following figure shows examples of minimum edge coverings (again, the set C is marked with red).

 

Note that the figure on the right is not only an edge cover but also a matching. In particular, it is a perfect matching: a matching M in which every vertex is incident with exactly one edge in M. A perfect matching (if it exists) is always a minimum edge covering.

Examples edit

  • The set of all edges is an edge cover, assuming that there are no degree-0 vertices.
  • The complete bipartite graph Km,n has edge covering number max(m, n).

Algorithms edit

A smallest edge cover can be found in polynomial time by finding a maximum matching and extending it greedily so that all vertices are covered.[1][2] In the following figure, a maximum matching is marked with red; the extra edges that were added to cover unmatched nodes are marked with blue. (The figure on the right shows a graph in which a maximum matching is a perfect matching; hence it already covers all vertices and no extra edges were needed.)

 

On the other hand, the related problem of finding a smallest vertex cover is an NP-hard problem.[1]

Looking at the image it already becomes obvious why, for a given minimum edge cover   and maximum matching  , letting   and   be the number of edges in   and   respectively, we have:[3]  . Indeed,   contains a maximum matching, so the edges of   can be decomposed between the   edges of a maximum matching, covering   vertices, and the   other edges that each cover one other vertex. Thus, as   covers all of the   vertices, we have   giving the desired equality.

See also edit

  • Vertex cover
  • Set cover – the edge cover problem is a special case of the set cover problem: the elements of the universe are vertices, and each subset covers exactly two elements.

Notes edit

  1. ^ a b Garey & Johnson (1979), p. 79, uses edge cover and vertex cover as one example of a pair of similar problems, one of which can be solved in polynomial time while the other one is NP-hard. See also p. 190.
  2. ^ Lawler, Eugene L. (2001), Combinatorial optimization: networks and matroids, Dover Publications, pp. 222–223, ISBN 978-0-486-41453-9.
  3. ^ "Prove that the sum of minimum edge cover and maximum matching is the vertex count". Mathematics Stack Exchange. Retrieved 2024-02-18.

References edit

edge, cover, graph, theory, edge, cover, graph, edges, such, that, every, vertex, graph, incident, least, edge, computer, science, minimum, edge, cover, problem, problem, finding, edge, cover, minimum, size, optimization, problem, that, belongs, class, coverin. In graph theory an edge cover of a graph is a set of edges such that every vertex of the graph is incident to at least one edge of the set In computer science the minimum edge cover problem is the problem of finding an edge cover of minimum size It is an optimization problem that belongs to the class of covering problems and can be solved in polynomial time Contents 1 Definition 1 1 Examples 2 Algorithms 3 See also 4 Notes 5 ReferencesDefinition editFormally an edge cover of a graph G is a set of edges C such that each vertex in G is incident with at least one edge in C The set C is said to cover the vertices of G The following figure shows examples of edge coverings in two graphs the set C is marked with red nbsp A minimum edge covering is an edge covering of smallest possible size The edge covering number r G is the size of a minimum edge covering The following figure shows examples of minimum edge coverings again the set C is marked with red nbsp Note that the figure on the right is not only an edge cover but also a matching In particular it is a perfect matching a matching M in which every vertex is incident with exactly one edge in M A perfect matching if it exists is always a minimum edge covering Examples edit The set of all edges is an edge cover assuming that there are no degree 0 vertices The complete bipartite graph Km n has edge covering number max m n Algorithms editA smallest edge cover can be found in polynomial time by finding a maximum matching and extending it greedily so that all vertices are covered 1 2 In the following figure a maximum matching is marked with red the extra edges that were added to cover unmatched nodes are marked with blue The figure on the right shows a graph in which a maximum matching is a perfect matching hence it already covers all vertices and no extra edges were needed nbsp On the other hand the related problem of finding a smallest vertex cover is an NP hard problem 1 Looking at the image it already becomes obvious why for a given minimum edge cover C displaystyle C nbsp and maximum matching M displaystyle M nbsp letting c displaystyle c nbsp and m displaystyle m nbsp be the number of edges in C displaystyle C nbsp and M displaystyle M nbsp respectively we have 3 V c m displaystyle V c m nbsp Indeed C displaystyle C nbsp contains a maximum matching so the edges of C displaystyle C nbsp can be decomposed between the m displaystyle m nbsp edges of a maximum matching covering 2 m displaystyle 2m nbsp vertices and the c m displaystyle c m nbsp other edges that each cover one other vertex Thus as C displaystyle C nbsp covers all of the V displaystyle V nbsp vertices we have V 2 m c m displaystyle V 2m c m nbsp giving the desired equality See also editVertex cover Set cover the edge cover problem is a special case of the set cover problem the elements of the universe are vertices and each subset covers exactly two elements Notes edit a b Garey amp Johnson 1979 p 79 uses edge cover and vertex cover as one example of a pair of similar problems one of which can be solved in polynomial time while the other one is NP hard See also p 190 Lawler Eugene L 2001 Combinatorial optimization networks and matroids Dover Publications pp 222 223 ISBN 978 0 486 41453 9 Prove that the sum of minimum edge cover and maximum matching is the vertex count Mathematics Stack Exchange Retrieved 2024 02 18 References editWeisstein Eric W Edge Cover MathWorld Garey Michael R Johnson David S 1979 Computers and Intractability A Guide to the Theory of NP Completeness W H Freeman ISBN 0 7167 1045 5 Retrieved from https en wikipedia org w index php title Edge cover amp oldid 1210751454, wikipedia, wiki, book, books, library,

article

, read, download, free, free download, mp3, video, mp4, 3gp, jpg, jpeg, gif, png, picture, music, song, movie, book, game, games.