Graph Structures
Below is a diagram of how it works:
Essentially, rows and columns represent the node 1..4 (from right to left) and 1..4 (up and down). Everytime you have a connection you flip the bit in the matrix to 1 from 0. So there is a path from 1 to 4 the data point at M(1,4) and M(4,1) will be 1.
No comments:
Post a Comment