FindKPlex
范例
打开所有单元 关闭所有单元基本范例 (2)
g = [image];FindKPlex[g, 2]HighlightGraph[g, Subgraph[g, %], GraphHighlightStyle -> "Thick"]g = ExampleData[{"NetworkGraph", "ZacharyKarateClub"}];FindKPlex[g, 4, Infinity, All]//Shallow范围 (13)
规范 (6)
FindKPlex 可用于无向图:
FindKPlex[[image], 2]FindKPlex[[image], 2]FindKPlex[[image], 2]FindKPlex[[image], 2]Table[FindKPlex[[image], k], {k, 1, 4}]FindKPlex[{1 -> 2, 1 -> 5, 2 -> 3, 3 -> 4, 4 -> 5, 3 -> 6, 4 -> 6, 6 -> 3, 6 -> 4, 4 -> 3}, 2]枚举 (7)
FindKPlex[[image], 2]FindKPlex[[image], 2, {3}]FindKPlex[[image], 2, 4]FindKPlex[[image], 2, {3, 5}]FindKPlex[{[image], 6}, 2]FindKPlex[[image], 2, Infinity, All]如果没有丛则 FindKPlex 给出空列表:
FindKPlex[[image], 2, {5}]应用 (2)
g = GraphData[{"Antiprism", 4}];Table[HighlightGraph[g, Subgraph[g, i]], {i, FindKPlex[g, 2, {4}, All]}]在亚马逊网站上书籍根据相同的购买者链接. 求包含 The Clinton Wars 的最大书籍收藏,其中在相同收藏内对所有其他书籍除了2本特定书籍以外有相同的购买者:
g = ExampleData[{"NetworkGraph", "USPoliticsBooks"}];FindKPlex[{g, "The Clinton Wars"}, 2]属性和关系 (5)
g = [image];FindKPlex[g, 1]CompleteGraphQ[g, First[%]]CompleteGraph[10]FindKPlex[%, 2]g = StarGraph[10]First[FindKPlex[g, 1]]First[FindKPlex[g, 2]]First[FindKPlex[g, 3]]g = [image];FindKPlex[g, 1]FindKPlex[g, 2, Infinity, All]g = [image];FindKPlex[{g, 6}, 2]FindKClique[{g, 6}, 2]FindKClan[{g, 6}, 2]FindKClub[{g, 6}, 2]相关指南
-
▪
- 社交网络分析
文本
Wolfram Research (2012),FindKPlex,Wolfram 语言函数,https://reference.wolfram.com/language/ref/FindKPlex.html (更新于 2015 年).
CMS
Wolfram 语言. 2012. "FindKPlex." Wolfram 语言与系统参考资料中心. Wolfram Research. 最新版本 2015. https://reference.wolfram.com/language/ref/FindKPlex.html.
APA
Wolfram 语言. (2012). FindKPlex. Wolfram 语言与系统参考资料中心. 追溯自 https://reference.wolfram.com/language/ref/FindKPlex.html 年
BibTeX
@misc{reference.wolfram_2026_findkplex, author="Wolfram Research", title="{FindKPlex}", year="2015", howpublished="\url{https://reference.wolfram.com/language/ref/FindKPlex.html}", note=[Accessed: 05-September-2026]}
BibLaTeX
@online{reference.wolfram_2026_findkplex, organization={Wolfram Research}, title={FindKPlex}, year={2015}, url={https://reference.wolfram.com/language/ref/FindKPlex.html}, note=[Accessed: 05-September-2026]}