FunctionalGraph
FunctionalGraph[f,v]
takes a set and a function from to and constructs a directed graph with vertex set and edges for each in .
FunctionalGraph[{f1,f2,…},v]
constructs a graph with vertex set and edge set for each . An option called Type that takes on the values Directed and Undirected is allowed. Type->Directed is the default, while Type->Undirected returns the corresponding underlying undirected graph.
FunctionalGraph[f,n]
takes a nonnegative integer and a function from onto itself and produces the directed graph with vertex set and edge set for each vertex .
更多信息和选项
- FunctionalGraph functionality is now available in the built-in Wolfram Language function Graph.
- To use FunctionalGraph, you first need to load the Combinatorica Package using Needs["Combinatorica`"].
文本
Wolfram Research (2012),FunctionalGraph,Wolfram 语言函数,https://reference.wolfram.com/language/Combinatorica/ref/FunctionalGraph.html.
CMS
Wolfram 语言. 2012. "FunctionalGraph." Wolfram 语言与系统参考资料中心. Wolfram Research. https://reference.wolfram.com/language/Combinatorica/ref/FunctionalGraph.html.
APA
Wolfram 语言. (2012). FunctionalGraph. Wolfram 语言与系统参考资料中心. 追溯自 https://reference.wolfram.com/language/Combinatorica/ref/FunctionalGraph.html 年