TU Wien:Diskrete Mathematik für Informatik UE (Gittenberger)/Übungen WS13/Beispiel 3
Zur Navigation springen
Zur Suche springen
3) Determine the adjacency matrix of the graph below and use it to compute the number of walks of length 3 from 6 to 4. Furthermore, compute the number of cycles of length 3 which contain the vertex 4.
Theory[Bearbeiten | Quelltext bearbeiten]
- Adjacency matrix
- Paths in adjacency matrices (german) gives the number of paths of length between the vertices
- Matrix multiplication
Solution[Bearbeiten | Quelltext bearbeiten]
a)
* *
b)
* *