Question: Directed Graphs a directed graph is a finite set of points, called nodes, and an associated set of paths or arcs, each connecting two nodes
-1.png)
Figure 3.1.6 Directed graph (Problem 92)
Two nodes, i and j, are adjacent if there is an arc from i to j . (The arc from node I to node 3 is distinct from the arc from node 3 to node 1; the graph may include one, both, or neither.) If the graph has n nodes, its adjacency matrix is the n x n matrix A = [aij] defined by
-2.png)
(a) Write out the adjacency matrix for the directed graph in Fig. 3.1.6.
(b) Calculate the square of the adjacency matrix from part (a). What is the interpretation for the graph of an entry in this matrix? Two "consecutive" arcs, one from node i to node j, another from node j to node k, together form a "path" of length 2 from node i to node k
4 3 5 2 if there is an arc from node i to node j. IJ 0 f there isno such arc
Step by Step Solution
3.29 Rating (164 Votes )
There are 3 Steps involved in it
Directed Graphs a b The ijth e... View full answer
Get step-by-step solutions from verified subject matter experts
Document Format (1 attachment)
947-M-L-A-L-S (4688).docx
120 KBs Word File
