CompleteGraph[n]
creates a complete graph on n vertices. An option Type that takes on the values Directed or Undirected is allowed. The default setting for this option is Type->Undirected.
CompleteGraph[a,b,c,…]
creates a complete
-partite graph of the prescribed shape. The use of CompleteGraph to create a complete
-partite graph is obsolete; use CompleteKPartiteGraph instead.
CompleteGraph
CompleteGraph[n]
creates a complete graph on n vertices. An option Type that takes on the values Directed or Undirected is allowed. The default setting for this option is Type->Undirected.
CompleteGraph[a,b,c,…]
creates a complete
-partite graph of the prescribed shape. The use of CompleteGraph to create a complete
-partite graph is obsolete; use CompleteKPartiteGraph instead.
更多信息和选项
- CompleteGraph functionality is now available in the built-in Wolfram Language function CompleteGraph.
- To use CompleteGraph, you first need to load the Combinatorica Package using Needs["Combinatorica`"].
相关指南
-
▪
- Built-in Graphs ▪
- Graphs & Networks ▪
- Graph Visualization ▪
- Computation on Graphs ▪
- Graph Construction & Representation ▪
- Graphs and Matrices ▪
- Graph Properties & Measurements ▪
- Graph Operations and Modifications ▪
- Statistical Analysis ▪
- Social Network Analysis ▪
- Graph Properties ▪
- Mathematical Data Formats ▪
- Discrete Mathematics
文本
Wolfram Research (2012),CompleteGraph,Wolfram 语言函数,https://reference.wolfram.com/language/Combinatorica/ref/CompleteGraph.html.
CMS
Wolfram 语言. 2012. "CompleteGraph." Wolfram 语言与系统参考资料中心. Wolfram Research. https://reference.wolfram.com/language/Combinatorica/ref/CompleteGraph.html.
APA
Wolfram 语言. (2012). CompleteGraph. Wolfram 语言与系统参考资料中心. 追溯自 https://reference.wolfram.com/language/Combinatorica/ref/CompleteGraph.html 年
BibTeX
@misc{reference.wolfram_2025_completegraph, author="Wolfram Research", title="{CompleteGraph}", year="2012", howpublished="\url{https://reference.wolfram.com/language/Combinatorica/ref/CompleteGraph.html}", note=[Accessed: 15-April-2026]}
BibLaTeX
@online{reference.wolfram_2025_completegraph, organization={Wolfram Research}, title={CompleteGraph}, year={2012}, url={https://reference.wolfram.com/language/Combinatorica/ref/CompleteGraph.html}, note=[Accessed: 15-April-2026]}