Combinatorica`
Combinatorica`
MakeGraph
As of Version 10, most of the functionality of the Combinatorica package is built into the Wolfram System. »
MakeGraph[v,f]
constructs the graph with vertices corresponding to v and edges between all pairs of vertices and in v for which the binary relation defined by the Boolean function f is True.
更多信息和选项
- To use MakeGraph, you first need to load the Combinatorica Package using Needs["Combinatorica`"].
- MakeGraph takes two options, Type and VertexLabel.
- Type can be set to Directed or Undirected, and this tells MakeGraph whether to construct a directed or an undirected graph. The default setting is Directed.
- VertexLabel can be set to True or False, with False being the default setting. Using VertexLabel->True assigns labels derived from v to the vertices of the graph.
Wolfram Research (2012),MakeGraph,Wolfram 语言函数,https://reference.wolfram.com/language/Combinatorica/ref/MakeGraph.html.
文本
Wolfram Research (2012),MakeGraph,Wolfram 语言函数,https://reference.wolfram.com/language/Combinatorica/ref/MakeGraph.html.
CMS
Wolfram 语言. 2012. "MakeGraph." Wolfram 语言与系统参考资料中心. Wolfram Research. https://reference.wolfram.com/language/Combinatorica/ref/MakeGraph.html.
APA
Wolfram 语言. (2012). MakeGraph. Wolfram 语言与系统参考资料中心. 追溯自 https://reference.wolfram.com/language/Combinatorica/ref/MakeGraph.html 年