Solution :
7. An independent set in a graph G is a subset S C V(G) of vertices...
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...
Let G -(V, E) be a graph. The complementary graph G of G has vertex set V. Two vertices are adjacent in G if and only if they are not adjacent in G. (a) For each of the following graphs, describe its complementary graph: (i) Km,.ni (i) W Are the resulting graphs connected? Justify your answers. (b) Describe the graph GUG. (c) If G is a simple graph with 15 edges and G has 13 edges, how many vertices does...
A maximal plane graph is a plane graph G = (V, E) with n ≥ 3
vertices such that if we join any two non-adjacent vertices in G,
we obtain a non-plane graph.
A maximal plane graph is a plane graph G = (V, E) with n-3 vertices such that if we join any two non-adjacent vertices in G, we obtain a non-plane graph. (a) Draw a maximal plane graphs on six vertices b) Show that a maximal plane graph...
Question 16. A maximal plane
graph is a plane graph G = (V, E) with n ≥ 3 vertices such that if
we join any two non-adjacent vertices in G, we obtain a non-plane
graph. (a) Draw a maximal plane graphs on six vertices. (b) Show
that a maximal plane graph on n points has 3n − 6 edges and 2n − 4
faces. (c) A triangulation of an n-gon is a plane graph whose
infinite face boundary is a...
A maximal plane graph is a plane graph G = (V, E) with n ≥ 3 vertices such that if we join any two non-adjacent vertices in G, we obtain a non-plane graph. a) Draw a maximal plane graphs on six vertices. b) Show that a maximal plane graph on n points has 3n − 6 edges and 2n − 4 faces. c) A triangulation of an n-gon is a plane graph whose infinite face boundary is a convex n-gon...
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...
Prove or disprove that INDEPENDENT-SET ?p SET-PACKING, that is,
these two problems are computationally equally hard. Please use an
illustration if it helps. The definitions of these two decision
problems are summarized below. We already proved that
INDEPENDENT-SET ?p SETPACKING, so assume this given.
- INDEPENDENT-SET: Given a graph G = (V, E) and an integer k, is
there a subset of vertices such that and, for each edge in
E, at most one - but not both - of...
7.(35) A subset S of the nodes of a graph G is a dominating set if every other node of G is adjacent to some node in S. Consider the language: DOMINATING-SET ={<G, K> | G has a dominating set with k nodes} Show that DOMINATING-SET is NP-complete by reduction from VERTEX- COVER.
Let G (V, E) be a directed graph with n vertices and m edges. It is known that in dfsTrace of G the function dfs is called n times, once for each vertex It is also seen that dfs contains a loop whose body gets executed while visiting v once for each vertex w adjacent to v; that is the body gets executed once for each edge (v, w). In the worst case there are n adjacent vertices. What do...
PLEASE HELP Let G is a graph with 2n vertices and n^2 edges. An amicable pair of vertices is an unordered pair (u, v), such that dist(u, v) = 2. Prove that G has at least n(n − 1) amicable pairs of vertices.