Question

Draw the undirected graph X with the incident matrix of 110100 101000 011010 000011 000101 Where...

Draw the undirected graph X with the incident matrix of

110100

101000

011010

000011

000101

Where the edge that corresponds to edge 1 has the weight 1, and the column 2 edge represents weight 2 and so on.

b) Determine the minimum spanning tree using take away edges algorithm and with Kruskals algorithm.

Homework Answers

Answer #1

Let us start with some basic Definition and Algorithm to clear you about what we are going to do .

Incidence Matriix:

An incidence matrix is a matrix that shows the relationship between two classes of objects.These two classes are Edge class and Vertices Classes .

If there is an edge between the any two vertices then matrix[row of vertex][column of edge] get filled with one .

Take Away Edges Algorithm :

1) Sort all edges of graph in non-increasing order of
   edge weights.

2) Initialize MST as original graph and remove extra
   edges using step 3.

3) Pick highest weight edge from remaining edges and 
   check if deleting the edge disconnects the graph  
   or not.
       If disconnects, then we don't delete the edge.
       Else we delete the edge and continue. 

Krushkal Algorithm :

1. Sort all the edges in non-decreasing order of their weight.
2. Pick the smallest edge. Check if it forms a cycle with the spanning tree formed so far. If cycle is not formed, include this edge. Else, discard it.
3. Repeat step#2 until there are (V-1) edges in the spanning tree.

See the attach file for solution :

Know the answer?
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for?
Ask your own homework help question
Similar Questions
Given an undirected graph with no more than 2 vertices and unique edge weights between all...
Given an undirected graph with no more than 2 vertices and unique edge weights between all pairs of vertices, prove that the edge with the largest weight cannot be in a minimum spanning tree.
Show Proof of correctness and state, and solve the Recurrence using the Master Theorem. Let G...
Show Proof of correctness and state, and solve the Recurrence using the Master Theorem. Let G = G(V, E) be an arbitrary, connected, undirected graph with vertex set V and edge set E. Assume that every edge in E represents either a road or a bridge. Give an efficient algorithm that takes as input G and decides whether there exists a spanning tree of G where the number of edges that represents roads is floor[ (|V|/ √ 2) ]. Do...
Consider an undirected graph G = (V, E) with an injective cost function c: E →...
Consider an undirected graph G = (V, E) with an injective cost function c: E → N. Suppose T is a minimum spanning tree of G for cost function c. If we replace each edge cost c(e), e ∈ E, with cost c'(e) = c(e)2 for G, is T still a minimum spanning tree of G? Briefly justify your answer.
Give an example of a connected undirected graph that contains at least twelve vertices that contains...
Give an example of a connected undirected graph that contains at least twelve vertices that contains at least two circuits. Draw that graph labeling the vertices with letters of the alphabet. Determine one spanning tree of that graph and draw it. Determine whether the graph has an Euler circuit. If so, specify the circuit by enumerating the vertices involved. Determine whether the graph has an Hamiltonian circuit. If so, specify the circuit by enumerating the vertices involved.
Let us consider Boruvka/Sollin's algorithm as shown . Note that Boruvka/Sollin algorithm selects several edges for...
Let us consider Boruvka/Sollin's algorithm as shown . Note that Boruvka/Sollin algorithm selects several edges for inclusion in T at each stage. It terminates when only one tree at the end of a stage or no edges to be selected. One Step of Boruvka/Sollin's Algorithm 1: Find minimum cost edge incident to every vertex. 2: Add to tree T. 3: Remove cycle if any. 4: Compress and clean graph (eliminate multiple edges). (a) Suppose that we run k phases of...
With clear example, you will need to do comparative time complexity to solve Minimum Spanning Tree...
With clear example, you will need to do comparative time complexity to solve Minimum Spanning Tree using Greedy Algorithm of Prim and Kruskall with three different Data Structures 1. Weight Matrix   2. Adjacency List 3. Adjacency List with Priority
Given a matrix system AX = B as below, where A is a 4 x 4...
Given a matrix system AX = B as below, where A is a 4 x 4 matrix as given below A: 2          1          0          0 1          2          1          0 0          2          4          1 0          0          1          3 B: 0         -1 3 -1 Solve for all 4 X values using TDMA algorithm First identify the a, d, c and b values for each row, and then find P’s and Q’s and finally determine X’s.
true/false An unweighted path length measures the number of edges in a graph. Breadth first search...
true/false An unweighted path length measures the number of edges in a graph. Breadth first search traverses the graph in "layers", beginning with the closest nodes to the ending location first. The computer knows about neighbors by checking the graph storage (such as the adjacency matrix or the adjacency list). Breadth first traversals use a stack to process nodes. The weighted path length is the sum of the edge costs on a path. Dijkstra's shortest path algorithm can be used...
1. Use f(x) as defined below to complete parts (a) - (f). Draw an accurate graph...
1. Use f(x) as defined below to complete parts (a) - (f). Draw an accurate graph of the function on the grid below. Your graph should be detailed with all applicable asymptotes and points of interest: x and y intercepts, local and absolute minimum(s) (specify which on graph), local and absolute maximum(s). Leave all numerical values exact. f(x) = (x−1)√(4 + x) (a) domain: (b) range: (c) end behavior lim f(x) = x→−∞ lim f(x) = x→∞ (d) critical values...
For the following exercises, draw a graph that satisfies the given specifications for the domain x=[−3,3]....
For the following exercises, draw a graph that satisfies the given specifications for the domain x=[−3,3]. The function does not have to be continuous or differentiable. 216. f(x)>0,f′(x)>0 over x>1,−3<x<0,f′(x)=0 over 0<x<1 217. f′(x)>0 over x>2,−3<x<−1,f′(x)<0 over −1<x<2,f″(x)<0 for all x 218. f″(x)<0 over −1<x<1,f″(x)>0,−3<x<−1,1<x<3, local maximum at x=0, local minima at x=±2 219. There is a local maximum at x=2, local minimum at x=1, and the graph is neither concave up nor concave down.