Qurak

GridGraph

متاحة

Constructs an m by n grid graph

GridGraph[{m, n}]
GridGraph[{n1, n2, …, nk}]
Table[GraphRadius[GridGraph[{3, i}]], {i, 3, 6}] → {2, 3, 3, 4}Table[GraphDiameter[GridGraph[{3, i}]], {i, 3, 6}] → {4, 5, 6, 7}VertexEccentricity[GridGraph[{3, 3}], #]& /@ VertexList[GridGraph[{3, 3}]] → {4, 3, 4, 3, 2, 3, 4, 3, 4}

المواضيع

ذات صلة

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