Combinatorica`
Combinatorica`

FunctionalGraph

As of Version 10, most of the functionality of the Combinatorica package is built into the Wolfram System. »

FunctionalGraph[f,v]

takes a set v and a function f from v to v and constructs a directed graph with vertex set v and edges {x,f[x]} for each x in v.

FunctionalGraph[{f1,f2,},v]

constructs a graph with vertex set v and edge set {x,f_(i)[x]} for each f_(i). 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 n and a function f from {0,1,...,n-1} onto itself and produces the directed graph with vertex set {0,1,...,n-1} and edge set {x,f[x]} for each vertex x.

Details and Options

Wolfram Research (2012), FunctionalGraph, Wolfram Language function, https://reference.wolfram.com/language/Combinatorica/ref/FunctionalGraph.html.

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

BibTeX

@misc{reference.wolfram_2024_functionalgraph, author="Wolfram Research", title="{FunctionalGraph}", year="2012", howpublished="\url{https://reference.wolfram.com/language/Combinatorica/ref/FunctionalGraph.html}", note=[Accessed: 22-December-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_functionalgraph, organization={Wolfram Research}, title={FunctionalGraph}, year={2012}, url={https://reference.wolfram.com/language/Combinatorica/ref/FunctionalGraph.html}, note=[Accessed: 22-December-2024 ]}