中文说明:给定一个有向图矩阵,返回矩阵中所有的连通分支,如点1,2,3,4连通,5,6连通则返回两个连通分支,一个1,2,3,4,另一个5,6,matlab代码。
English Description:
Given a digraph matrix, return all the connected branches in the matrix, such as point 1,2,3,4 connected, 5,6 connected, then return two connected branches, one 1,2,3,4, the other 5,6, matlab code.