L-RCM:一种利用Laplacian矩阵和RCM算法检测无向图连通分支的方法
L-RCM: a method to detect connected components in undirected graphs by using the Laplacian matrix and the RCM algorithm
摘要:
在本文中,我们考虑无向图没有循环和多个边缘,由k个连通组件。在这些情况下,众所周知,可以找到顶点的编号,使得邻接矩阵A是具有k个块的块对角。这也适用于(未归一化的)拉普拉斯矩阵L= D-A,其中D是具有节点度的对角矩阵。在本文中,我们建议使用反向Cuthill-McKee(RCM)算法,以获得一个块对角形式的L,揭示了连接组件的图的数量。给出了用RCM算法排序的Laplacian矩阵的不可约性的一些理论结果。作为一个实际应用,我们提出了一个非常有效的方法来检测连接组件的计算成本为O(m+n),m的边缘和n的节点数。RCM方法在MATLAB和Mathematica等商业软件包中实现。我们使用MATLAB的函数symrcm进行计算。给出了一些数值结果
英文摘要:
In this paper we consider undirected graphs with no loops and multiple edges, consisting of k connected components. In these cases, it is well known that one can find a numbering of the vertices such that the adjacency matrix A is block diagonal with k blocks. This also holds for the (unnormalized) Laplacian matrix L= D-A, with D a diagonal matrix with the degrees of the nodes. In this paper we propose to use the Reverse Cuthill-McKee (RCM) algorithm to obtain a block diagonal form of L that reveals the number of connected components of the graph. We present some theoretical results about the irreducibility of the Laplacian matrix ordered by the RCM algorithm. As a practical application we present a very efficient method to detect connected components with a computational cost of O(m+n), being m the number of edges and n the number of nodes. The RCM method is implemented in some comercial packages like MATLAB and Mathematica. We make the computations by using the function symrcm of MATLAB. Some numerical results are shown
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。