Question: 2 . 3 . Graph Representation The adjacency matrix is a useful graph representation for many analytical calculations. However, when we need to store a

2.3. Graph Representation
The adjacency matrix is a useful graph representation for many analytical calculations. However, when we need to store a network in a computer, we can save computer memory by offering the list of links in a Lx2 matrix, whose rows contain the starting and end point \( i \) and \( j \) of each link.
Construct for the networks (a) and (b) in Figure 2.20:
GRAPH THEORY
30
(a) The corresponding adjacency matrices.
(b) The corresponding link lists.
(c) Determine the average clustering coefficient of the network shown in Figure 2.20a.
(d) If you switch the labels of nodes 5 and 6 in Figure 2.20a, how does that move change the adjacency matrix? And the link list?
(e) What kind of information can you not infer from the link list representation of the network that you can infer from the adjacency matrix?
(f) In the (a) network, how many paths (with possible repetition of nodes and links) of length 3 exist starting from node 1 and ending at node 3? And in (b)?
(g) With the help of a computer, count the number of cycles of length 4 in both networks.
Figure 2.20
Graph Representation
(a) Undirected graph of 6 nodes and 7 links.
(b) Directed graph of 6 nodes and 8 directed links.
2 . 3 . Graph Representation The adjacency matrix

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!