How to get the number of nodes of a graph from adjacency matrix in java?

前端 未结 0 564
没有蜡笔的小新
没有蜡笔的小新 2021-01-14 12:37

I have an adjacency matrix for an Undirected graph. What code can I use to get the number of nodes in it?

Thanks in advance

Edit: It may be possible to have pa

相关标签:
回答
  • 消灭零回复
提交回复
热议问题