Qurak

FindFundamentalCycles

可用

Fundamental cycle basis from a BFS spanning forest in reverse edge order

FindFundamentalCycles[g]
g = WheelGraph[4]; basis = FindFundamentalCycles[g] → {{4  1, 1  3, 3  4}, {4  1, 1  2, 2  4}, {3  1, 1  2, 2  3}}

主题

相关

全部 6300 个函数 · 从 MCP 客户端使用