Qurak

EdgeCount

متاحة

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}

مستخدمة في

المواضيع

ذات صلة

كل الدوال الـ6300 · استخدم هذا من عميل MCP