The Graph Data Structure is made up of nodes and edges. (A Tree Data Structure is a special kind of a Graph Data Structure). A Graph may be represented by an Adjacency Matrix or an Adjacency List....


The Graph Data Structure is made up of nodes and edges. (A Tree Data Structure is a special kind of a<br>Graph Data Structure). A Graph may be represented by an Adjacency Matrix or an Adjacency List. Through<br>this exercise, you should be able to have a better grasp the Adjacency Matrix concept. You are expected to<br>read about the Adjacency Matrix concept as well as the Adjacency List concept.<br>Suppose the vertices A, B, C, D, E, F, G and H of a Graph are mapped to row and column<br>indices(0,1,2,3,4,5,6,and 7) of a matrix (i.e. 2-dimensional array) as shown in the following table.<br>Vertex of Graph<br>Index in the 2-D Array Adjacency Matrix<br>Representation of Graph<br>A<br>B<br>2<br>F<br>6.<br>H<br>7<br>Suppose further, that the following is an Adjacency Matrix representing the Graph.<br>3<br>4<br>5.<br>6.<br>7<br>0.<br>1<br>1<br>1<br>1<br>01<br>1<br>01<br>1.<br>3<br>14<br>1<br>1<br>1<br>6.<br>1<br>Exercise:<br>Show/Draw the Graph that is represented by the above Adjacency matrix. Upload the document that contains<br>your result. (Filename: <YourName>AdjacencyMatrixExercise.pdf)<br>Notes:<br>-The nodes of the graph must be labeled as A, B, C, D, E, F, G and H.<br>-In the adjacency matrix, the entry 1 means there is an edge from the vertex represented by the corresponding<br>row inde to the vertex represented by the corresponding column index.<br>

Extracted text: The Graph Data Structure is made up of nodes and edges. (A Tree Data Structure is a special kind of a Graph Data Structure). A Graph may be represented by an Adjacency Matrix or an Adjacency List. Through this exercise, you should be able to have a better grasp the Adjacency Matrix concept. You are expected to read about the Adjacency Matrix concept as well as the Adjacency List concept. Suppose the vertices A, B, C, D, E, F, G and H of a Graph are mapped to row and column indices(0,1,2,3,4,5,6,and 7) of a matrix (i.e. 2-dimensional array) as shown in the following table. Vertex of Graph Index in the 2-D Array Adjacency Matrix Representation of Graph A B 2 F 6. H 7 Suppose further, that the following is an Adjacency Matrix representing the Graph. 3 4 5. 6. 7 0. 1 1 1 1 01 1 01 1. 3 14 1 1 1 6. 1 Exercise: Show/Draw the Graph that is represented by the above Adjacency matrix. Upload the document that contains your result. (Filename: AdjacencyMatrixExercise.pdf) Notes: -The nodes of the graph must be labeled as A, B, C, D, E, F, G and H. -In the adjacency matrix, the entry 1 means there is an edge from the vertex represented by the corresponding row inde to the vertex represented by the corresponding column index.
Jun 11, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here