如何找到无向图的所有连接子图
[其他。 example表:
&]1a
c2
b3 | a | |
---|---|---|
4 | c | h |
5 | b | j |
6 | d | f |
7 | e | k |
8 | i | |
9 | l | h |
Desired Output: | ||
Identifier | Gr_ID | Gr.Members |
1 | (a,c,c,g,h,h,l)c |
(a,c,g,h,l)
(b,d,f,j) | e | |
---|---|---|
f | 2 | |
1 | (a,c,g,h,l) | |
2 | (b,d,f,j) | |
示例output: | [23 | |
The CTE_Idents table contains all the unique identifiers in the graph. | The CTE_CleanResult table extracts the connected identifiers for each anchor identifier. |
免责声明: 提供的所有资源部分来自互联网,如果有侵犯您的版权或其他权益,请说明详细缘由并提供版权或权益证明然后发到邮箱:[email protected] 我们会第一时间内为您处理。
Copyright© 2022 湘ICP备2022001581号-3