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-клиента