Qurak

GraphPower

Beschikbaar

Graph connecting vertices within a given distance

GraphPower[g, n]
GraphPower[{v -> w, …}, …]
g = CycleGraph[7]; m = AdjacencyMatrix[g]; {GraphPower[g, 3], SimpleGraph[AdjacencyGraph[Clip[m + m.m + m.m.m]]]} → {Graph[<7>, <21>], SimpleGraph[Graph[<7>, <21>]]}

Onderwerpen

Gerelateerd

Alle 6300 functies · Gebruik dit vanuit een MCP-client