我有一个大图(100000 个节点),我想找到它的大小为 5 的派系。我使用这个命令来实现这个目标:
cliques(graph, min=5, max=5)
计算这个操作需要很多时间。似乎它首先尝试找到图的所有最大团,然后选择大小为 5 的团;我猜这是因为这两个命令之间的运行时间存在巨大差异,而它们都在做同样的工作:
adjacent.triangles (graph) # takes about 30s
cliques(graph, min=3, max=3) # takes more than an hour
我正在寻找一个命令,比如adjacent.triangles
有效地找到大小为 5 的集团。
谢谢