Qurak

WeaklyConnectedGraphQ

可用

Tests whether a directed graph is weakly connected — that is, whether its

WeaklyConnectedGraphQ[g]
WeaklyConnectedGraphQ[Graph[{1 -> 2, 2 -> 3}]] → TrueWeaklyConnectedGraphQ[Graph[{1 -> 2, 3 -> 4}]] → False

主题

相关

全部 6300 个函数 · 从 MCP 客户端使用