Qurak
Tài liệu
Bảng giá
Đăng nhập
Qurak
Tài liệu
Hàm
ConnectedGraphComponents
ConnectedGraphComponents
Khả dụng
Return connected components as subgraphs
Dạng
ConnectedGraphComponents[g]
ConnectedGraphComponents[g, {v1, v2, …}]
ConnectedGraphComponents[g, patt]
ConnectedGraphComponents[{v -> w, …}, …]
Ví dụ đã kiểm chứng
Length[ConnectedGraphComponents[g]] - 1 → 0
VertexCount[First[ConnectedGraphComponents[g]]] → VertexCount[g]
ConnectedGraphComponents[g]//Length → 1
Chạy cái này trên Qurak
Tìm trong tài liệu tham chiếu
Chủ đề
Graph Components
- Connected Components
New In104 Alphabetical Listing
- C
Summary Of New Features In140
- Graphs
Summary Of New Features In140
- Graphs
Liên quan
ConnectedGraphQ
WeaklyConnectedGraphComponents
WeaklyConnectedGraphQ
ConnectedComponents
WeaklyConnectedComponents
FindVertexCut
AdjacencyList
EdgeAdd
EdgeConnectivity
EdgeCount
EdgeDelete
EdgeIndex
← ConnectedComponents
ConnectedGraphQ →
Tất cả 6300 hàm
·
Dùng cái này từ một client MCP