Qurak

GraphPower

بەردەستە

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>]]}

بابەتەکان

پەیوەندیدار

هەموو 6300 فەنکشنەکە · ئەمە لە کڵایەنتێکی MCP ەوە بەکاربهێنە