Interpret adjacency matrices for algorithms