Qurak

ConnectedGraphComponents

بەردەستە

Return connected components as subgraphs

ConnectedGraphComponents[g]
ConnectedGraphComponents[g, {v1, v2, …}]
ConnectedGraphComponents[g, patt]
ConnectedGraphComponents[{v -> w, …}, …]
Length[ConnectedGraphComponents[g]] - 1 → 0VertexCount[First[ConnectedGraphComponents[g]]] → VertexCount[g]ConnectedGraphComponents[g]//Length → 1

بابەتەکان

پەیوەندیدار

هەموو 6300 فەنکشنەکە · ئەمە لە کڵایەنتێکی MCP ەوە بەکاربهێنە