Qurak

EdgeCount

Disponibile

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}

Usata in

Argomenti

Correlate

Tutte le 6300 funzioni · Usa questo da un client MCP