- IB
- Question Type 4: Finding lengths of paths between vertices using adjacency matrices
Consider a graph representing four research groups {W,X,Y,Z} with adjacency matrix
A = \begin{pmatrix} 0 & 1 & 1 & 0 \\ 1 & 0 & 1 & 1 \\ 1 & 1 & 0 & 1 \\ 0 & 1 & 1 & 0 \end{pmatrix}. $$Compute the total number of distinct collaborative sequences of three steps starting at W and ending at Z.