Qurak

GridGraph

Tilgjengelig

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}

Emner

Relatert

Alle 6300 funksjoner · Bruk dette fra en MCP-klient