Qurak

GridGraph

Disponible

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}

Thèmes

Connexes

Les 6300 fonctions · Utiliser ceci depuis un client MCP