Qurak

EdgeCount

Disponible

Returns the number of edges in a graph (optionally matching a pattern)

EdgeCount[g]
EdgeCount[g, patt]
EdgeCount[{v -> w, …}, …]
g = PetersenGraph[5, 2]; {ConnectedGraphQ[g], EdgeCount[g] ≥ VertexCount[g] - 1} → {True, True}

Utilisé dans

Thèmes

Connexes

Les 6300 fonctions · Utiliser ceci depuis un client MCP