Let G = (V;E) be an undirected and unweighted graph. Let S be a
subset of the vertices. The graph
induced on S, denoted G[S] is a graph that has vertex set S and an
edge between two vertices u, v that is an element of S
provided
that {u,v} is an edge of G. A subset K of V is called a killer set
of G if the deletion of K kills all the edges of
G, that is G[V - K] has no edges. prove that finding the smallest
killer set of G is an NP-hard using the vertex cover problem .
Reduction is very simple. If we have algorithm which given the graph G=(V,E) returns the smallest killer set of G then we can solve the problem of finding minimum vertex cover which is NP-hard problem.
Yes every killer set K is vertex cover set also because K is the killer set if and only if every edge in G=(V,E) is incident on some vertex in set K and since every edge in E is incident on some vertex in E, so E is vertex cover also .
Hence finding smallest killer set will be equivalent to finding minimum vertex cover in just polynomial time reduction and since minimum vertex cover finding is NP-hard, so smallest killer set finding is also NP-hard.
Please comment for any clarification.
Let G = (V;E) be an undirected and unweighted graph. Let S be a subset of the vertices. The graph...
2) Let G ME) be an undirected Graph. A node cover of G is a subset U of the vertex set V such that every edge in E is incident to at least one vertex in U. A minimum node cover MNC) is one with the lowest number of vertices. For example {1,3,5,6is a node cover for the following graph, but 2,3,5} is a min node cover Consider the following Greedy algorithm for this problem: Algorithm NodeCover (V,E) Uempty While...
2. Let G = (V, E) be an undirected connected graph with n vertices and with an edge-weight function w : E → Z. An edge (u, v) ∈ E is sparkling if it is contained in some minimum spanning tree (MST) of G. The computational problem is to return the set of all sparkling edges in E. Describe an efficient algorithm for this computational problem. You do not need to use pseudocode. What is the asymptotic time complexity of...
Let G be an undirected graph and let X be a subset of the vertices of G. A connecting tree on X is a tree composed out of the edges of G that contains all the vertices in X. One way to compute a connecting tree consists of two steps: (1) Compute a minimum spanning tree T over G. (2) Delete all the edges out of T not needed to connect vertices in X. Give an algorithm(Pseudo-code) to carry out...
7. Graphs u, u2, u3, u4, u5, u6} and the (a) Consider the undirected graph G (V, E), with vertex set V set of edges E ((ul,u2), (u2,u3), (u3, u4), (u4, u5), (u5, u6). (u6, ul)} i. Draw a graphical representation of G. ii. Write the adjacency matrix of the graph G ii. Is the graph G isomorphic to any member of K, C, Wn or Q? Justify your answer. a. (1 Mark) (2 Marks) (2 Marks) b. Consider an...
7. An independent set in a graph G is a subset S C V(G) of vertices of G which are pairwise non-adjacent (i.e., such that there are no edges between any of the vertices in S). Let Q(G) denote the size of the largest independent set in G. Prove that for a graph G with n vertices, GX(G)n- a(G)+ 1.
Question 1: Given an undirected connected graph so that every edge belongs to at least one simple cycle (a cycle is simple if be vertex appears more than once). Show that we can give a direction to every edge so that the graph will be strongly connected. Question 2: Given a graph G(V, E) a set I is an independent set if for every uv el, u #v, uv & E. A Matching is a collection of edges {ei} so...
Let G=(V, E) be a connected graph with a weight w(e) associated with each edge e. Suppose G has n vertices and m edges. Let E’ be a given subset of the edges of E such that the edges of E’ do not form a cycle. (E’ is given as part of input.) Design an O(mlogn) time algorithm for finding a minimum spanning tree of G induced by E’. Prove that your algorithm indeed runs in O(mlogn) time. A minimum...
3. Let G be an undirected graph in which the degree of every vertex is at least k. Show that there exist two vertices s and t with at least k edge-disjoint paths between them. 3. Let G be an undirected graph in which the degree of every vertex is at least k. Show that there exist two vertices s and t with at least k edge-disjoint paths between them.
B-1 Graph coloring Given an undirected graph G (V. E), a k-coloring of G is a function c : V → {0, 1, . . . ,k-1} such that c(u)≠c(v) for every edge (u, v) ∈ E. In other words, the numbers 0.1,... k-1 represent the k colors, and adjacent vertices different colors. must havec. Let d be the maximum degree of any vertex in a graph G. Prove that we can color G with d +1 colors.
Let G = (V, E) be a weighted undirected connected graph that contains a cycle. Let k ∈ E be the edge with maximum weight among all edges in the cycle. Prove that G has a minimum spanning tree NOT including k.