Qurak

WeaklyConnectedGraphQ

Disponible

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

Thèmes

Connexes

Les 6300 fonctions · Utiliser ceci depuis un client MCP