Detecting cycles in an adjacency matrix

前端 未结 7 1001
走了就别回头了
走了就别回头了 2020-12-14 19:46

Let A be the adjacency matrix for the graph G = (V,E). A(i,j) = 1 if the nodes i and j are connected with an

7条回答
  •  抹茶落季
    2020-12-14 20:14

    If digraph G is represented by its Adjacency matrix M then M'=(I - M ) will be singular if there is a cycle in it. I : identity matrix of same order of M

提交回复
热议问题