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 .
Details and Options
- 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`"].
Text
Wolfram Research (2012), FunctionalGraph, Wolfram Language function, https://reference.wolfram.com/language/Combinatorica/ref/FunctionalGraph.html.
CMS
Wolfram Language. 2012. "FunctionalGraph." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/Combinatorica/ref/FunctionalGraph.html.
APA
Wolfram Language. (2012). FunctionalGraph. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/Combinatorica/ref/FunctionalGraph.html