文件名称:Connected component (graph) using weighted quick union with path compression (wqupc): Connected component (graph) using weighted quick union with path compression (wqupc)-matlab开发
文件大小:1KB
文件格式:ZIP
更新时间:2024-06-18 19:20:45
matlab
输入:G G 是 (n,n) 无向图矩阵,其中 n 是顶点数输出:标签n 个顶点的标签 用法: id = wqupc(G); 标签 = id2labels(id);
【文件预览】:
wqupc.zip